betasim | R Documentation |
Simulates common eigenvector matrices of a specified size and CPC or CPC(q) structure.
betasim(k, p, q)
k |
The number of common eigenvector matrices required. |
p |
Number of rows/columns (variables), i.e. the size of the eigenvector matrices. |
q |
Number of eigenvectors that should be common to all of the matrices. |
The purpose of this function is for the simulation of common eigenvector matrices for use in simulation studies. CPC or CPC(q) matrices can be generated for several groups.
Returns an array containing the common eigenvector matrices.
Theo Pepler
Pepler, P.T. (2014). The identification and application of common principal components. PhD dissertation in the Department of Statistics and Actuarial Science, Stellenbosch University.
# Generate three (partially) common eigenvector matrices of # dimension p = 5, with a CPC(2) structure betasim(k = 3, p = 5, q = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.