Learn R Programming

rtemis (version 0.79)

partLin: rtemis internal: Ridge and Stump

Description

Fit a linear model on (x, y) and a tree on the residual yhat - y

Usage

partLin(x1, y1, lambda = 1, part.minsplit = 2, part.xval = 0,
  part.max.depth = 1, part.cp = 0, minobsinnode.lin = 5,
  verbose = TRUE, trace = 0)

Arguments