View source: R/dispRity.utilities.R
| sort.dispRity | R Documentation |
dispRity object.Sort (or order) the subsets of a dispRity object.
## S3 method for class 'dispRity'
sort(x, decreasing = FALSE, sort, ...)
x |
A |
decreasing |
|
sort |
An optional |
... |
optional arguments to be passed to |
Thomas Guillerme
dispRity, test.dispRity, plot.dispRity, get.subsets, get.disparity.
## Load the disparity data based on Beck & Lee 2014
data(disparity)
## Sorting the data
summary(disparity)
summary(sort(disparity, decreasing = TRUE))
summary(sort(disparity, sort = c(7,1,3,4,5,2,6)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.