Re: [R-sig-Geo] adehabitat

2006-10-24 Thread Clément Calenge
Dear Duncan, > This was a useful comment as I was doing something similar at the same > time as Milton. I thought it worth mentioning that I found that when > using sp0.9-2 I needed to fix the function spixdf2kasc in order to get > sp data into the adehabitat kasc format. > > The line that read

Re: [R-sig-Geo] Variogram does not plot correctly when using layout()

2006-10-24 Thread Edzer J. Pebesma
Paul, please note that at least 5 R packages calculate variograms, and not everyone can see from your email address which one you are using (gstat). plot is a generic method; to find which instance is called try class(plot(rad_data_vgm,rad_data_mod$sph)) [1] "trellis" so the plot returns is ac

Re: [R-sig-Geo] From Sparse Matrix to Listw (capacity problems)

2006-10-24 Thread Roger Bivand
On Tue, 24 Oct 2006, Martin Reismann wrote: > Dear colleagues, > > This message concerns packages spdep and SparseM. > > I have a problem converting a large binary weight matrix (12432 * > 12432) from matrix.csr class to listw. > > I tried W.listw <- asListwMatrixCsr(W.csr) > which gives: erro

[R-sig-Geo] adehabitat

2006-10-24 Thread Duncan Golicher
>Milton Cezar Ribeiro wrote: > > > >>Hi there, >> >> I have a binary image and I need to identify each clump of non-zero values >> and attrib a diferent "patch" id-number. >> Is there a R package that do that? >> By the way, what are the R packages for image manipulation? >> >> >> >> >H

[R-sig-Geo] From Sparse Matrix to Listw (capacity problems)

2006-10-24 Thread Martin Reismann
Dear colleagues, This message concerns packages spdep and SparseM. I have a problem converting a large binary weight matrix (12432 * 12432) from matrix.csr class to listw. I tried W.listw <- asListwMatrixCsr(W.csr) which gives: error in asListwMatrixCsr(W.csr): row indices out of range As a se