corr.matrix | R Documentation |
Computes pair-wise correlations between variables in a dataframe df Tests H0: rho = 0 vs H1: rho!=0 by computing p-values.
corr.matrix(df)
df |
dataframe |
list with two tables: corrs (correlations), pvals (p-values)
library(regkurs) corr.matrix(bike[,c("temp","hum","windspeed")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.