Description Usage Arguments Value Author(s)
Generate and format a correlation table for publication.
1 2 3 4 5 6 7 8 |
x |
Tibble or dataframe. Numeric variables as columns, observations as rows. |
use |
Character. "pairwise" is the default value and will do pairwise deletion of cases. "complete" will select just complete cases. |
method |
Character. "pearson" is the default value. The alternatives to be passed to cor are "spearman" and "kendall" |
digits |
Numeric. Number of digits to be displayed in the formated table. |
variables |
Character vector. Names of the variables in rows (if different from names in the dataframe). |
addpval |
Logical. Whether p-values should be added below the correlations. |
1 |
Nicolas Mangin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.