cut.path_tree: Cut a Path Tree

View source: R/tree.R

cut.path_treeR Documentation

Cut a Path Tree

Description

Reduce a path tree to its first levels.

Usage

## S3 method for class 'path_tree'
cut(x, n_levels = 2, depth = 0, ...)

Arguments

x

tree object as returned by kwb.fakin:::to_tree

n_levels

number of levels to which the tree is cut

depth

current depth level

...

further arguments (currently not used)


KWB-R/kwb.fakin documentation built on June 14, 2022, 2 p.m.