powered by
Stacks (correlation) matrix and selects values which are above the ``level''
Topm(X, level=0.45, values=0, corr=TRUE, square=TRUE)
Data frame with correlation values
Data frame or matrix with values
Threshold
If > 0, ignores "level" and outputs until reaches number, if "all", outputs all values
If FALSE, does not show magnitude
If FALSE, does not use lower triangle, some rows could be redundant
Alexey Shipunov
'Topm()' stacks (correlation) matrix and selects (and sorts) values which are above the ``level''.
Good for the analysis of correlation matrices.
Cor
Topm(cor(trees), corr=TRUE)
Run the code above in your browser using DataLab