[R-sig-Geo] Spatio Temporal Kriging

wycliff mwania mw@n|@hwyc|||| @end|ng |rom gm@||@com
Mon Jul 12 15:25:50 CEST 2021


Hey there,
I am doing kriging in R language and am facing some problems when I reach
the for using the grid.
When I run this code:
```{r}
coordinates(grid.ST) <- c("Long", "Lat")
july.kriged <- krige(log(WaterLevel) ~ 1, July, grid.ST, model=july.fit)
```
I get this error:
Error in (function (classes, fdef, mtable) : unable to find an inherited
method for function ‘coordinates<-’ for signature ‘"STF"’
I really do not understand what is happening.
Also, when I plot my interpolation results, I get blank plot but the scale
is shown.
Kindly help.
Thank you in advance.

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list