View source: R/FUN_covariance_basic.R
| usm | R Documentation |
Unstructured positive-definite covariance structure. The returned dimensionless covariance shape is intended for use inside vsm, which supplies the single overall variance scale.
usm(x, theta = NULL, fixed = NULL)
x |
Variable or design defining q covariance levels. |
theta |
Optional positive-definite q by q starting covariance matrix. |
fixed |
Logical vector of length q(q+1)/2 - 1 controlling the estimable normalized-Cholesky parameters. |
The covariance shape is parameterized as
K=LL^{\mathsf T},
with lower-triangular L and L_{11}=1. Diagonal elements after the first are positive and represented on log scales; lower off-diagonal elements are unrestricted. This guarantees positive definiteness without repeatedly repairing an unconstrained covariance matrix.
A list containing the incidence/design matrix in Z and a compiled CovarianceFactor v2 descriptor in covFactor, for use inside vsm.
vsm, mmes.
## Not run:
vsm(usm(environment), ism(genotype))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.