printResiduals {featurefinder} | R Documentation |
This function generates a residual tree on a subset of the data
printResiduals(fileConn, all, dat, runname, levelname,
treeSummaryResidualThreshold, treeSummaryMinBucket,
treeSummaryResidualMagnitudeThreshold, ...)
fileConn |
A file connection |
all |
A dataframe |
dat |
The dataset |
runname |
A string corresponding to the name of the factor being analysed |
levelname |
A string corresponding to the factor level being analysed |
treeSummaryResidualThreshold |
The minimum residual threshold |
treeSummaryMinBucket |
The minumum volume per leaf |
treeSummaryResidualMagnitudeThreshold |
Minimun residual magnitude |
... |
and parameters to be passed through |
Residuals are printed and also saved in a simplified format.
require(featurefinder)
data(examples)
printResiduals(fileConn,splitlist[t][[1]],dat, runname, names[t],
treeSummaryResidualThreshold,treeSummaryMinBucket,
treeSummaryResidualMagnitudeThreshold)