Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/sort.associationMatrix.R
This function sorts an associationMatrix
ascendingly or descendingly by one
of its columns.
1 2 |
x |
The |
decreasing |
Whether to sort ascendingly (FALSE) or descending (TRUE). |
byColumn |
Which column to sort the matrix by, as an index. |
... |
Passed on to |
Note that if the associationMatrix
contains values of different effectsizes,
the sorting may be misleading. For example, a value of Cohen's d of .45 is higher
than a value of Pearson's r of .35, and so will end up higher in a 'decreasing'
sort - even though the association represented by an r of .35 is stronger than
that represented by a d of .45.
Furthermore, only asymmetrical associationMatrices can be sorted; sorting a symmetrical association matrix would also change the order of the columns, after all.
The associationMatrix
, but sorted.
Gjalt-Jorn Peters
Maintainer: Gjalt-Jorn Peters <gjalt-jorn@userfriendlyscience.com>
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.