Skip to content

Importing raster data from Arcview to R for fitting a ppm

3 messages · Honey Giroday, 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.Qgood, ~ x + y + slope, Poisson(), covariates = 
list(slope=slope.subset))





This should work indeed!



Marcelino
At 11:36 16/04/2008, Marcelino de la Cruz wrote:

            
***************************************
Marcelino de la Cruz Rot
Depto. Biologia Vegetal
EUIT Agricola
Universidad Politecnica de Madrid
28040-Madrid
SPAIN