predict.glmcat {GLMcat}R 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.


[Package GLMcat version 0.2.6 Index]