Skip to content
Prev 28689 / 29559 Next

Spatio Temporal Kriging

Hi!

Assuming that you are using the gstat package, looks like that the error occurs when you try to attribute c("Long", "Lat?) to coordinates function.

Try to follow the example from the ?krige function (bellow) with your data:

library(gstat)
library(sp)

data(meuse)
coordinates(meuse) = ~x+y
data(meuse.grid)
gridded(meuse.grid) = ~x+y
m <- vgm(.59, "Sph", 874, .04)

# ordinary kriging:
x <- krige(log(zinc)~1, meuse, meuse.grid, model = m)



Best,

Raphael Saldanha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4908 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20210712/24ed5ea3/attachment.p7s>