predict.zinbgam: Predict from the fitted model

predict.zinbgamR Documentation

Predict from the fitted model

Description

Obtain predictions from a fitted model of class zinbgam.

Usage

## S3 method for class 'zinbgam'
predict(
  object,
  newdata,
  type = c("response", "pi.response", "mu.response", "pi.link", "mu.link"),
  ...
)

Arguments

object

an object representing a fitted model of class zinbgam.

newdata

data to predict from.

type

the type of prediction required.

...

additional optional arguments.


AustralianAntarcticDataCentre/zigam documentation built on June 30, 2023, 11:49 a.m.