Obtain predictions from a fitted model of class zinbgam.

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