Description Usage Arguments Value Examples
Simulate a design matrix of correlated continuous covariates including P > N matrices.
1 2 3 4 5 |
vars |
A vector containing the number of variables to load on each respective variable cluster. For example, if you desire three clusters of variables that have 5 variables each, enter c(5, 5, 5). |
Nobs |
The number of observations. Defaults to 50. Can be less than the number of variables to simulate P > N data. |
distfunc |
A function with appropriate arguments filled in. See example. This is used to generate random observations which are "morphed" to have the correlation structure generated by this function. |
A matrix with the attribute "assign" indicating the cluster onto which a given variable loads.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.