predict.twostage: Prediction for twostage objects

Description Usage Arguments

View source: R/twostage.R

Description

Prediction for twostage objects

Usage

1
2
## S3 method for class 'twostage'
predict(object, newdata, id, n.trees = NULL, ...)

Arguments

object

object of class twostage

newdata

data frame of predictors augmented with grouping variable

id

character or index of grouping variable in newdata

n.trees

number of trees to use. If NULL, uses the best number of trees in object

...

unused


patr1ckm/mvtboost documentation built on May 24, 2019, 8:21 p.m.