reduce_tree: A function that creates new (reduced) tree based on an...

Description Usage Arguments Value Author(s) Examples

Description

A function that creates new (reduced) tree based on an attribute that must not be NA

Usage

1
reduce_tree(data_tree, attribute)

Arguments

a

data.tree object that provides the source

a

list/vector of nodes that build up the tree

Value

a data.tree object

Author(s)

Stefan L<c3><bc>dtke

Examples

1
test_tree_reduced = reduce_tree(base_tree_b, attribute = 'station_id')

sluedtke/gclassification documentation built on May 29, 2019, 12:16 p.m.