Description Usage Arguments Value Examples
View source: R/convoSPAT_simulate.R
kernel_cov
calculates a 2 x 2 matrix based on the eigendecomposition
components (two eigenvalues and angle of rotation).
1 | kernel_cov(params)
|
params |
A vector of three parameters, corresponding to (lam1, lam2, eta). The eigenvalues (lam1 and lam2) must be positive. |
A 2 x 2 kernel covariance matrix.
1 | kernel_cov(c(1, 2, pi/3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.