| sort.dispRity {dispRity} | R Documentation |
Sorting or ordering a dispRity object.
Description
Sort (or order) the subsets of a dispRity object.
Usage
## S3 method for class 'dispRity'
sort(x, decreasing = FALSE, sort, ...)
Arguments
x |
A |
decreasing |
|
sort |
An optional |
... |
optional arguments to be passed to |
Author(s)
Thomas Guillerme
See Also
dispRity, test.dispRity, plot.dispRity, get.subsets, get.disparity.
Examples
## 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)))
[Package dispRity version 1.8 Index]