[R-sig-Geo] Importing raster data from Arcview to R for fitting a ppm

2008-04-16 Thread adrian
Honey Giroday <[EMAIL PROTECTED]> writes: > I am a relatively new UseR and am currently using R 2.5.1 on a > linux operating system (I am connected to the linux system via > remote desktop connection). I am trying to import a raster > dataset (in ASCII format) to fit as a covariate in a ppm. ppm

Re: [R-sig-Geo] Importing raster data from Arcview to R for fitting a ppm

2008-04-16 Thread Marcelino de la Cruz
May be I answered too fast Try better this: xxx04.Q <- ppm(xxx04)$Q # get default quadrature scheme io <- !is.na(slope.subset[xxx04.Q, drop=F]) # select non-problematic points xxx04.Qgood <- (xxx04.Q[io]) # exclude problematic point class(xxx04.Qgood) <- "quad" ppm(xxx04.Qgoo

Re: [R-sig-Geo] Importing raster data from Arcview to R for fitting a ppm

2008-04-16 Thread Marcelino de la Cruz
Hi, I don't remeber if this is corrected in the current version of spatstat (please, actualize) but, anyway, I think you can troubleshot the problem with this: io <- !is.na(slope.subset[xxx04, drop=F]) ppm(xxx04[io], ~ x + y + slope, Poison(), covariates = list(slope=slope.subset) I hope

[R-sig-Geo] Importing raster data from Arcview to R for fitting a ppm

2008-04-15 Thread Honey Giroday
Hi All! I am a relatively new UseR and am currently using R 2.5.1 on a linux operating system (I am connected to the linux system via remote desktop connection). I am trying to import a raster dataset (in ASCII format) to fit as a covariate in a ppm. However, I keep getting this er