# meshing used for kriging
grid<-function(xgrid,ygrid){
basexy <- expand.grid(xgrid, ygrid)
colnames(basexy) <- c("x", "y")
coordinates(basexy) <- ~x+y
gridded(basexy) <- TRUE
return(basexy)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.