Description Usage Arguments See Also
Same as geoR's varcov.spatial
, but taking into account
non-Euclidean distances if pertinent.
1 2 3 4 5 | varcov.spatial(coords = NULL, dists.lowertri = NULL, cov.model = "matern",
kappa = 0.5, nugget = 0, cov.pars = stop("no cov.pars argument"),
inv = FALSE, det = FALSE, func.inv = c("cholesky", "eigen", "svd",
"solve"), scaled = FALSE, only.decomposition = FALSE, sqrt.inv = FALSE,
try.another.decomposition = TRUE, only.inv.lower.diag = FALSE, ...)
|
coords |
an n x 2 matrix with the coordinates
of the data locations. If not provided
the argument |
dists.lowertri |
a vector with the lower triangle of the matrix
of distances between pairs of data points. If not provided
the argument |
cov.model |
a string indicating the type of the correlation
function. More details in the
documentation for |
kappa |
values of the additional smoothness parameter, only required by
the following correlation
functions: |
nugget |
the value of the nugget parameter tau^2. |
cov.pars |
a vector with 2 elements or an ns \times 2 matrix with the covariance parameters. The first element (if a vector) or first column (if a matrix) corresponds to the variance parameter sigma^2. second element or column corresponds to the correlation function parameter phi. If a matrix is provided each row corresponds to the parameters of one spatial structure. Models with several structures are also called nested models in the geostatistical literature. |
inv |
if |
det |
if |
func.inv |
algorithm used for the decomposition and inversion of the covariance
matrix. Options are |
scaled |
logical indicating whether the covariance matrix should
be scaled. If |
only.decomposition |
logical. If |
sqrt.inv |
if |
try.another.decomposition |
logical. If |
only.inv.lower.diag |
logical. If |
... |
for naw, only for internal usage. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.