Learn R Programming

data.tree (version 1.1.0)

Revert: Reverts the sort order of a Node's children.

Description

Reverts the sort order of a Node's children.

Usage

Revert(node, recursive = TRUE)

Value

returns the Node invisibly (for chaining)

Arguments

node

the Node whose childrens' sort order is to be reverted

recursive

If TRUE, then revert is called recursively on all children.

See Also

Node

Sort