Description Usage Arguments Value Author(s) Examples
Generate data from the hierarchical random covariance model (RCM).
1 | createRCMData(ns, psi, nu, sigma)
|
ns |
A numeric vector giving the sample sizes in each study. |
psi |
The underlying Psi parameter which is the mean
covariance matrix. If |
nu |
A numeric of length one giving the underlying nu parameter. |
sigma |
A numeric matrix giving the expected covariance matrix.
Can be supplied instead of |
A list
of matrices of the same size as psi
giving
observed scatter matrices from the RCM.
The realized covariance matrices are appended as an attribute.
Anders Ellern Bilgrau <anders.ellern.bilgrau (at) gmail.com>
1 2 3 4 5 6 | ns <- c(20, 10)
psi <- diag(3)
createRCMData(ns, psi, nu = 10)
createRCMData(ns, psi, nu = 1e20)
createRCMData(ns, psi, nu = Inf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.