sort.treeprof: Sort A Treeprof

Description Usage Arguments Note

View source: R/treemanip.R

Description

Each branch is sorted in turn recursively. The treeprof object is re-id'd in the order of the sort.

Usage

1
2
## S3 method for class 'treeprof'
sort(x, decreasing = FALSE, ...)

Arguments

x

treeprof object

decreasing

whether to sort descending or not

treeprof

object, "sorted"

Note

set `decreasing=TRUE` as otherwise the tree stops making sense; default is set to `FALSE` for compatibility with generic.


brodieG/treeprof documentation built on Nov. 11, 2021, 1:36 a.m.