getVarAv {featurefinder}R Documentation

getVarAv

Description

This function generates a residual tree on a subset of the data

Usage

getVarAv(dd, varAv, varString)

Arguments

dd

A dataframe

varAv

A string corresponding to the numeric field to be averaged within each leaf node

varString

A string

Value

An average of the numeric variable varString in the segment

Examples


require(featurefinder)
data(examples)
av=getVarAv(dat,"expected",pathterms)

[Package featurefinder version 1.1 Index]