predict.MEglm: Predict MEglm Make predictions for Mixed Effect logistic...

Description Usage Arguments Value Author(s)

View source: R/predict.R

Description

Predict MEglm Make predictions for Mixed Effect logistic regression. This is just a wrapper for predict.merMod in lme4 .

Usage

1
2
predict.MEglm(object, newdata, type = c("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

NULL

pred

matrix with predicted class probabilites

predRules

NULL

Author(s)

Che Ngufor Ngufor.Che@mayo.edu


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