Obtain predictions from a fitted model of class zipgam.

# S3 method for 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.