printResiduals {featurefinder}R Documentation

printResiduals

Description

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

Usage

printResiduals(fileConn, all, dat, runname, levelname,
  treeSummaryResidualThreshold, treeSummaryMinBucket,
  treeSummaryResidualMagnitudeThreshold, ...)

Arguments

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

Value

Residuals are printed and also saved in a simplified format.

Examples


require(featurefinder)
data(examples)
printResiduals(fileConn,splitlist[t][[1]],dat, runname, names[t],
  treeSummaryResidualThreshold,treeSummaryMinBucket,
  treeSummaryResidualMagnitudeThreshold)

[Package featurefinder version 1.1 Index]