Description Usage Arguments Details Value Author(s) Examples
Get a correlation plot and table with significance stars.
1 2 3 4 5 |
df |
A dataframe. |
returns |
"table", "plot" or "both". Returns a table, a ggplot plot or a list with both. |
correction |
"none", "holm" for holm-bonferroni (default), "fdr" for False Discovery Rate. |
type |
"pearson" for Pearson's, "partial" for partial correlations and "spearman" for Spearman's. |
iamaboringperson |
Are you? |
cortable displays a correlation matrix or table, and a plot. Note that you can save the table under a .csv format to easily integrate it in your documents. Moreover, you can customize the plot's theme and featuers as it is in ggplot2's format.
result |
Either The table in the format of a dataframe or the plot in the format of a ggplot's plot. Depending on the "returns" argument. |
Dominique Makowski and Bertolt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.