spatial_cor | R Documentation |
Extract the approximated spatial correlation between one coordinate and other coordinates using a sparse precision and SPDE mesh
spatial_cor(Q, mesh, coord, pred)
Q |
sparse precision matrix |
mesh |
SPDE mesh |
coord |
vector of length-2 with spatial coordinates for focal point |
pred |
matrix with two columns and multiple rows, with location for points to predict correlation |
A vector with length nrow(pred)
giving the spatial correlation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.