View source: R/cu_crw_covmat.R
cu_crw_covmat | R Documentation |
Using a correlation function created by cu_crw_covfun
from a fitted CRW model a covariance (correlation) matrix is created for observations
at the user provided times.
cu_crw_covmat(x, corr = TRUE, cf, E = 0)
x |
Either a |
corr |
Should the function return a correlation or covariance matrix? Defaults
to |
cf |
Covariance function created from a |
E |
The 'zero' time used for the covariance function. Defaults to |
If x
is a crwFit
object, then the cf
and E
arguments are ignored. The resulting matrix is the covariance (correlation) matrix
for the observed location times conditioned on the first location. Therefore,
for n observed locations an (n-1) by (n-1) matrix will result. This is most
useful for the effective sample size computation for a kernel density estimate.
Devin S. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.