View source: R/varianceComponents.R
estimateComponents | R Documentation |
Estimates the values of r and σ in a model X \sim N(0, σ^2 (r Q + (1 - r)I)).
estimateComponents(X, Q, Qeig = NULL)
X |
An n \times p data matrix. |
Q |
A p \times p matrix giving the prior variance on the
rows of |
Qeig |
If the eigendecomposition of |
A list with r and σ.
data(AntibioticSmall) estimateComponents(AntibioticSmall$X, AntibioticSmall$Q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.