predict.MErf: Predict MErf Make predictions for Mixed Effect random forest.

Description Usage Arguments Value Author(s)

View source: R/predict.R

Description

Predict MErf Make predictions for Mixed Effect random forest.

Usage

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

Arguments

object

Fitted model.

newdata

A new input data frame.

type

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

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

pred

matrix with predicted class probabilites

predRules

predicted rules

Author(s)

Che Ngufor Ngufor.Che@mayo.edu


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