getVarAv {featurefinder} | R Documentation |
This function generates a residual tree on a subset of the data
getVarAv(dd, varAv, varString)
dd |
A dataframe |
varAv |
A string corresponding to the numeric field to be averaged within each leaf node |
varString |
A string |
An average of the numeric variable varString in the segment
require(featurefinder)
data(examples)
av=getVarAv(dat,"expected",pathterms)