powered by
Convert a correlation data frame to original matrix format.
as_matrix(x, diagonal)
cor_df. See correlate.
correlate
Value (typically numeric or NA) to set the diagonal to. Default = 1.
Correlation matrix
# NOT RUN { x <- correlate(mtcars) as_matrix(x) # }
Run the code above in your browser using DataLab