Description Usage Arguments Details Value Note Author(s) References See Also Examples
Format a correlation matrix with stars to indicate significance
1 |
x |
data matrix |
type |
type of correlation matrix, to be passed to |
digits |
number of decimal places to use |
full |
logical. If TRUE, a more complete output is returned, including not only the formatted correlation matrix, but also the original correlations and p-values. |
Missing values are treated using pairwise deletion, which is the default of rcorr
if full
is false, a formatted correlation matrix is returned. Otherwise, a list including the formatted correlation matrix, the original correlaitons and the p-values.
This funciton was adapted from here: https://github.com/kyuni22/ksmv/blob/master/functions/corstarsl.R
Giulio Costantini
https://github.com/kyuni22/ksmv/blob/master/functions/corstarsl.R
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.