cor_to_df | R Documentation |
Helper function for bootstrap_traits_multivariate that extracts results from a correlation matrix
cor_to_df(corr)
corr |
correlation matrix |
A data.frame of correlations
Modified from https://stackoverflow.com/a/23476844/2055765
x <- matrix(ncol = 5, rnorm(20))
colnames(x) <- letters[1:5]
cor(x) |> cor_to_df()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.