getVarAv: getVarAv

Description Usage Arguments Value Examples

View source: R/featurefinder.r

Description

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

Usage

1
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

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

featurefinder documentation built on May 2, 2019, 5:41 a.m.