ez.r | R Documentation |
r correlation
ez.r(x, col = NULL, type = "pearson", print2scr = T)
x |
df or matrix |
col |
col included for calculation, ignored if x is not a df |
type |
"pearson" or "spearman" |
print2scr |
print attention message, if NA present in r matrix; no effect if there is no NA |
r matrix
underlying uses rcorr
, which uses pairwise deletion. Pairs with fewer than 2 non-missing values, or too small variance, have the r values set to NA
In the r matrix you get, you may get some NAs in the marix without warning)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.