Description Usage Arguments Value Examples
View source: R/convoSPAT_paramEst.R
This function replaces the geoR function cov.spatial
, which
is now defunct.
Options available in this package are: "exponential
",
"matern"
, and "gaussian"
.
1 2 3 4 5 6 | cov_spatial(
Dist.mat,
cov.model = "exponential",
cov.pars = c(1, 1),
kappa = 0.5
)
|
Dist.mat |
A matrix of scaled distances. |
cov.model |
A string specifying the model for the correlation
function; defaults to |
cov.pars |
Fixed values; not used in the function. |
kappa |
Scalar; value of the smoothness parameter. |
This function returns a correlation matrix.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.