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

View source: R/node_methods_sideeffect.R

RevertR Documentation

Reverts the sort order of a Node's children.

Description

Reverts the sort order of a Node's children.

Usage

Revert(node, recursive = TRUE)

Arguments

node

the Node whose childrens' sort order is to be reverted

recursive

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

Value

returns the Node invisibly (for chaining)

See Also

Node

Sort


gluc/data.tree documentation built on Nov. 16, 2023, 10:49 p.m.