Learn R Programming

sasLM (version 0.10.5)

Cor.test: Correlation test of multiple numeric columns

Description

Testing correlation between numeric columns of data with Pearson method.

Usage

Cor.test(Data, conf.level=0.95)

Value

Row names show which columns are used for the test

Estimate

point estimate of correlation

Lower CL

upper confidence limit

Upper CL

lower condidence limit

t value

t value of the t distribution

Df

degree of freedom

Pr(>|t|)

probability with the t distribution

Arguments

Data

a matrix or a data.frame

conf.level

confidence level

Author

Kyun-Seop Bae k@acr.kr

Details

It uses all numeric columns of input data. It uses "pairwise.complete.obs" rows.

Examples

Run this code
  Cor.test(mtcars)

Run the code above in your browser using DataLab