Description
This function generates a residual tree on a subset of the data
Usage
getVarAv(dd, varAv, varString)
Value
An average of the numeric variable varString in the segment
Arguments
- dd
A dataframe
- varAv
A string corresponding to the numeric field to be averaged within each leaf node
- varString
A string