Learn R Programming

fdm2id (version 0.9.5)

correlated: Correlated variables

Description

Return the list of correlated variables

Usage

correlated(d, threshold = 0.8)

Arguments

d

A data matrix.

threshold

The threshold on the (absolute) Pearson coefficient. If NULL, return the most correlated variables.

Value

The list of correlated variables (as a matrix of column names).

See Also

cor

Examples

Run this code
# NOT RUN {
data (iris)
correlated (iris)
# }

Run the code above in your browser using DataLab