View source: R/covarianceFunctions.R
getcov | R Documentation |
A function to return the covariance from a model based on the randomFields covariance functions. Not intended for general use.
getcov(u, sigma, phi, model, pars)
u |
distance |
sigma |
variance parameter |
phi |
scale parameter |
model |
correlation type, see ?CovarianceFct |
pars |
vector of additional parameters for certain classes of covariance function (eg Matern), these must be supplied in the order given in ?CovarianceFct and are not estimated |
this is just a wrapper for CovarianceFct
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.