Hi All,

I am new to forums such as this, so please bear with me if this question is very elementary.

I've created an object of class STFDF, and I want to produce a space-time empirical variogram, such as the one in Figure 4 of the "Spatio-temporal geostatistics using gstat" document found here:  http://cran.r-project.org/web/packages/gstat/vignettes/st.pdf.

The object name is inflows.st, and I'm fairly confident that this is set up correctly.

> dim(inflows.st)
[1] 121 660   1

> class(inflows.st)
[1] "STFDF"
attr(,"package")
[1] "spacetime"

However, when I apply the variogram function to the data in this object, I get the following error:

> vv = variogram(inflows~1, data=inflows.st, width=0.5, cutoff = 15)
Error in function (classes, fdef, mtable)  :
  unable to find an inherited method for function "gridded", for signature "STFDF"

Are there any ideas on what this error means and how it can be resolved?

Thanks in advance,
Mandy Hering



	[[alternative HTML version deleted]]

