Topm | R Documentation |
Stacks (correlation) matrix and selects values which are above the “level”
Topm(X, level=0.45, values=0, corr=TRUE, square=TRUE)
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 |
'Topm()' stacks (correlation) matrix and selects (and sorts) values which are above the “level”.
Good for the analysis of correlation matrices.
Data frame with correlation values
Alexey Shipunov
Cor
Topm(cor(trees), corr=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.