Description Usage Arguments Value Examples
View source: R/prepapre_correlation_graph.R
Reads a data frame and presents Pearson correlations above
and Spearman correlations the diagonal using a fancy graph prepared
by the package corrplot
.
1 |
df |
Data frame containing at least two variables that are either numeric or logical and at least five observations. |
The function directly renders the graph as produced by corrplot
.
In addition, it returns a list containing three items:
A data frame containing the correlations
A data frame containing the p-values of the correlations
A data frame containing the number of observations used for the correlations
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.