powered by
Convert a correlation data frame to original matrix format.
as_matrix(x, diagonal)
Correlation matrix
A correlation data frame. See correlate or as_cordf.
correlate
as_cordf
Value (typically numeric or NA) to set the diagonal to
x <- correlate(mtcars) as_matrix(x)
Run the code above in your browser using DataLab