set_leavesD: Set leaves

Description Usage Arguments Value

View source: R/simulation_functions.R

Description

Set the volumes at the leaves of a tree to a specific value.

Usage

1
set_leavesD(tree, vals, name = tree$name)

Arguments

tree

the tree of interest

vals

a scalar or vector of replacement values

name

the node name to set at or below

Value

the tree invisibly


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