Learn R Programming

featurefinder (version 1.2)

printResiduals: printResiduals

Description

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

Usage

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

Value

Residuals are printed and also saved in a simplified format.

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