Description Usage Arguments Value
View source: R/param_classes.R
Create a correlation matrix object
1 | make_correlation_matrix(type, correlation, dimension)
|
type |
chr, Type of a correlation matrix: "constant" for a matrix where every off-diagonal term is the same (specified by the correlation parameter), "exponential" for a matrix where correlation between variables decays exponentially. |
correlation |
Value of the correlation coefficient. In case of an exponentially decaying correlation, this is the exponent base. |
dimension |
Number of columns of the matrix |
Object of class "cor_matrix" that consist of the matrix type, correlation coefficient and dimension of the matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.