rcorr
function in the p.adjust
).
Observations are filtered for missing data, and only complete observations are used.rcorr.adjust(x, type = c("pearson", "spearman"),
use=c("complete.obs", "pairwise.complete.obs"))
## S3 method for class 'rcorr.adjust':
print(x, ...)
"rcorr.adjust"
to be printed."pearson"
or "spearman"
, depending upon the type of
correlations desired; the default is "pearson"
."complete.obs"
, the default, use only complete cases;
"pairwise.complete.obs"
, use all cases with valid data for each pair."rcorr.adjust"
, which is normally just printed.