predict.MEmixgbm2: predict MEmixgbm2

Description Usage Arguments Value Author(s)

View source: R/predict.R

Description

Make predictions for mixed effect mixture of GBM (version 2).

Usage

1
predict.MEmixgbm2(object, newdata, type = c("prob", "class")[1], ...)

Arguments

object

Fitted model from MEmixgbm2.

newdata

A new input data frame.

type

of prediction: "prop" for probabilities and "class" for class labels.

...

Further arguments passed to or from other methods.

Value

A list with items

prob

predicted class probabilities

class

predicted class memberships obtained by thresholding class probabilities at the prevalence rate of the positive class

Author(s)

Che Ngufor Ngufor.Che@mayo.edu


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