as_matrix {corrr} | R Documentation |
Convert a correlation data frame to matrix format
Description
Convert a correlation data frame to original matrix format.
Usage
as_matrix(x, diagonal)
Arguments
x |
|
diagonal |
Value (typically numeric or NA) to set the diagonal to |
Value
Correlation matrix
Examples
x <- correlate(mtcars)
as_matrix(x)
[Package corrr version 0.4.4 Index]