Hello yet again: I have a little data set that I want to get a variogram for. However, I keep getting an error.
> str(z1.df) Formal class 'SpatialPointsDataFrame' [package "sp"] with 5 slots ..@ data :'data.frame': 5 obs. of 1 variable: .. ..$ x: num [1:5] 1.4228 0.0275 -0.3738 0.2812 0.2328 ..@ coords.nrs : int [1:2] 2 3 ..@ coords : num [1:5, 1:2] 146.9 133.8 -85.8 -99.9 -91.1 ... .. ..- attr(*, "dimnames")=List of 2 .. .. ..$ : NULL .. .. ..$ : chr [1:2] "lon" "lat" ..@ bbox : num [1:2, 1:2] -99.9 -31.3 146.9 38.3 .. ..- attr(*, "dimnames")=List of 2 .. .. ..$ : chr [1:2] "lon" "lat" .. .. ..$ : chr [1:2] "min" "max" ..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots .. .. ..@ projargs: chr NA > variogram(z1.df) Error in variogram.default(z1.df) : argument object and locations should be lists > Does this make any sense, please? Thanks, Erin [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo