cor_gen | R Documentation |
Creates a random correlation matrix.
cor_gen(n_var, cov_bounds = c(-1, 1))
n_var |
integer number of variables. |
cov_bounds |
a vector containing the bounds of the covariance matrix. |
The result from cor_gen
can be used directly with the cor_matrix
argument of questionnaire_gen
.
cor_gen(n_var = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.