predict: Predict method for a a fitted 'glmcat' model object

predict.glmcatR Documentation

Predict method for a a fitted glmcat model object

Description

Obtains predictions of a fitted glmcat model object.

Usage

## S3 method for class 'glmcat'
predict(object, newdata, type, ...)

Arguments

object

a fitted object of class glmcat.

newdata

optionally, a data frame in which to look for the variables involved in the model. If omitted, the fitted linear predictors are used.

type

the type of prediction required. The default is "prob" which gives the probabilities, the other option is "linear.predictor" which gives predictions on the scale of the linear predictor.

...

further arguments. The default is "prob" which gives the probabilities, the other option is "linear.predictor" which gives predictions on the scale of the linear predictor.


GLMcat documentation built on Sept. 30, 2024, 5:08 p.m.