predict.MEgbm: Predict MEgbm Make predictions for Mixed Effect gbm.

Description Usage Arguments Value Author(s)

View source: R/predict.R

Description

Predict MEgbm Make predictions for Mixed Effect gbm.

Usage

1
2
predict.MEgbm(object, newdata, type = c("response", "prob", "class")[1],
  allow.new.levels = FALSE, ...)

Arguments

object

Fitted model.

newdata

A new input data frame.

type

character string - either "response", the default, or "prob" or "class", indicating the type of prediction object returned.

allow.new.levels

specifry if new levels of factor variables in the test set should be allowed. Default to FALSE.

Value

A list with items

Y.star

predicted transformed outcome, same as predicted outcome for guassian distribution

pred

matrix with predicted class probabilites, if type = "prob"

predRules

predicted rules

Author(s)

Che Ngufor Ngufor.Che@mayo.edu


nguforche/MEml documentation built on April 20, 2020, 7:26 a.m.