Learn R Programming

FreqProf (version 0.0.1)

cor.testm: Correlation test for multiple variables - of the same name - in separate data.frames

Description

Correlation test for multiple variables - of the same name - in separate data.frames

Usage

cor.testm(data1, data2, method)

Arguments

data1
a data.frame with N variables
data2
a data.frame with the same N variables as data1
method
a correlation method, either method = "pearson" or "spearman"

Value

Returns a data.frame of correlation test data for N variables

See Also

cor.test is the underlying function and has more options