predict.zipgam: Predict from the fitted model

predict.zipgamR Documentation

Predict from the fitted model

Description

Obtain predictions from a fitted model of class zipgam.

Usage

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

Arguments

object

an object representing a fitted model of class zipgam.

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.