add_effectD: Increment volumes

Description Usage Arguments Value

View source: R/simulation_functions.R

Description

Destructively add effect to the volume of all leaves at or below node "name"

Usage

1
add_effectD(tree, effect, name = tree$name)

Arguments

tree

The tree of interest

effect

a scalar or vector corresponding to the amount to add to each leaf.

name

The node name to increment at or below

Value

the tree invisibly


cfhammill/hierarchyTrees documentation built on Feb. 8, 2020, 2:54 a.m.