[R] gstat no longer handles 1-D data

From: Rick Bilonick <rab45+_at_pitt.edu>
Date: Fri 05 May 2006 - 14:21:48 EST

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.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 06 05:14:57 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 06 May 2006 - 20:09:58 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.