generateTrees {featurefinder}R Documentation

generateTrees

Description

Generate a residual tree for each level of factor mainfac

Usage

generateTrees(data, vars, expr, outputPath, runname, ...)

Arguments

data

A dataframe

vars

A list of candidate predictors

expr

A expression to be modelled by the RPART tree

outputPath

The output directory

runname

A string corresponding to the name of the variable being modelled

...

and parameters to be passed through

Value

A list of residual trees for each level of the mainfac factor provided

Examples


require(featurefinder)
data(examples)
treesThisvar=generateTrees(data=dat0,vars,expr,outputPath=tempdir(),runname,
  treeGenerationMinBucket=treeGenerationMinBucket,
  treeSummaryMinBucket=treeSummaryMinBucket,
  treeSummaryResidualThreshold=treeSummaryResidualThreshold,
  treeSummaryResidualMagnitudeThreshold=treeSummaryResidualMagnitudeThreshold,
  doAllFactors=doAllFactors,
  maxFactorLevels=maxFactorLevels)

[Package featurefinder version 1.1 Index]