create_mcov | R Documentation |
This function creates covariance matrices for spatial data based on the provided model parameters.
create_mcov(coordenadas, t.models)
coordenadas |
A matrix of coordinates. |
t.models |
A data frame with model parameters. |
A list of covariance matrices.
data(vowels)
t.models = data.frame(sill = c(1887.47,1447.27,3533.96,1850.27,432.63),
phi = c(106.68,109.1,19.4,150.32,31.52),
tausq =c(0,0,0,0,0),
model = as.character(c("gaussian","gneiting",
"matern","cubic",
"wave")),
kappa = c(0,0,7.3,0,0)
)
create_mcov(vowels_coords,t.models)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.