Calculate correlations and p-values between columns.
test_cor(
x,
y = NULL,
method = "pearson",
use = "everything",
p_adj_method = "none"
)
Data frame in long format with correlation values and nominal and adjusted p-values.
Matrix or data frame with columns to correlate.
Matrix or data frame, if provided will be correlated with x.
Passed to stats::cor
.
Passed to stats::cor
.
P-value adjustment method, passed to stats::p.adjust
.