Description Usage Arguments Value Examples
View source: R/plotcovariance.R
Plot covariance between points given specified method
1 | plotCovariance(method, params, nyears = 10, return.values = F)
|
method |
string to indicate type of method from which to simulate. Options are: "ar", "arma", "splines", "gp". |
params |
list of parameters needed to simulate from method specified. Each method takes different parameter arguments. See documentation for each process for more information.
|
nyears |
length of period to visualize covariance structure |
return.values |
return values instead of plot; default is set to F |
A plot of covariance between points. Covariance is calculated relative to x = 0 and standardised so that variance = 1 (so should be called correlation!).
1 | plotCovariance(method = "splines", params = list(sigma = 0.5, sigma.alpha = 0.5, order = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.