Learn R Programming

fdm2id (version 0.9.9)

correlated: Correlated variables

Description

Return the list of correlated variables

Usage

correlated(d, threshold = 0.8)

Value

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

Arguments

d

A data matrix.

threshold

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

See Also

Examples

Run this code
data (iris)
correlated (iris)

Run the code above in your browser using DataLab