Description Usage Arguments Value
Create a formatted correlation table
1 2 3 |
data |
a |
sample_size |
logical. TRUE will add the sample size used in each pairwise correlation and display them in the upper triangle of the table. FALSE will leave the upper triangle empty |
use |
a string, same as the arguemnt used in |
method |
a string, same as the argument in |
stats |
defaults to NULL and does not include any descriptive statistics. Otherwise should be a
vector of strings naming the stats that |
c.names |
a character vector of user-provided names for the names of the variables in the table. |
change |
logical, indicates if you would like to change the column names of the table to |
numbered |
logical, indicates if you would like to use numbers for the column names |
flagged |
logical, indicates if you would like to flag significant (p <. 05) correlations in the table |
a data.frame
containing the correlation matrix and descriptive statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.