predict.zipgam | R Documentation |
Obtain predictions from a fitted model of class zipgam.
## S3 method for class 'zipgam'
predict(
object,
newdata,
type = c("response", "pi.response", "lambda.response", "pi.link", "lambda.link"),
...
)
object |
an object representing a fitted model of class zipgam. |
newdata |
data to predict from. |
type |
the type of prediction required. |
... |
additional optional arguments. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.