[R] gstat no longer handles 1-D data

Rick Bilonick rab45+ at pitt.edu
Fri May 5 06:21:48 CEST 2006


Has anyone else noticed that gstat no longer handles 1-D data?

> library(gstat)
> coordinates(pm.df) <- ~x
Error in validObject(.Object) : invalid class "SpatialPoints" object:
spatial.dimension should be 2 or more
> variogram(pm~1,~x,data=pm.df)
Error in validObject(.Object) : invalid class "SpatialPoints" object:
spatial.dimension should be 2 or more

The variogram call used to work. It stopped working when I upgraded to
the latest version of gstat.

Rick B.




More information about the R-help mailing list