shipunov (version 1.17.1)

Topm: Stacks correlation matrix

Description

Stacks (correlation) matrix and selects values which are above the ``level''

Usage

Topm(X, level=0.45, values=0, corr=TRUE, square=TRUE)

Value

Data frame with correlation values

Arguments

X

Data frame or matrix with values

level

Threshold

values

If > 0, ignores "level" and outputs until reaches number, if "all", outputs all values

corr

If FALSE, does not show magnitude

square

If FALSE, does not use lower triangle, some rows could be redundant

Author

Alexey Shipunov

Details

'Topm()' stacks (correlation) matrix and selects (and sorts) values which are above the ``level''.

Good for the analysis of correlation matrices.

See Also

Cor

Examples

Run this code
Topm(cor(trees), corr=TRUE)

Run the code above in your browser using DataLab