Description Usage Arguments Value Examples
View source: R/featurefinder.r
Generate a residual tree for each level of factor mainfac
1 |
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 |
A list of residual trees for each level of the mainfac factor provided
1 2 3 4 5 6 7 8 9 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.