Moves prep.tree into the main SRCGrob function. This simplifies the process of creating a tree. Before, the user needed to call prep.tree separately, then pass the correct output values into SRCGrob. This was unintuitive and error-prone.
This change also allows prep.tree to be private. Some unnecessary inputs to prep.tree were removed, and SRCGrob inputs have been changed to pass data to prep.tree.
Moves
prep.tree
into the mainSRCGrob
function. This simplifies the process of creating a tree. Before, the user needed to callprep.tree
separately, then pass the correct output values intoSRCGrob
. This was unintuitive and error-prone.This change also allows
prep.tree
to be private. Some unnecessary inputs toprep.tree
were removed, andSRCGrob
inputs have been changed to pass data toprep.tree
.