Learn R Programming

kaps (version 0.9-2)

predict: Predict new data witgh the fitted model kaps .

Description

This function produces predicted values, obtained by evaluationg the kaps in the frame newdata predict.

Usage

## S3 method for class 'apss':
predict(object, newdata)
## S3 method for class 'Tree':
predict(object, newdata)

Arguments

object
object of S4 class apss.
newdata
An optinal data frame in which to look for variables with which to predict. If omitted, the fitted values are used.

See Also

kaps, lrtree