predict.fastglm {fastglm} | R Documentation |
Obtains predictions and optionally estimates standard errors of those predictions from a fitted generalized linear model object.
Description
Obtains predictions and optionally estimates standard errors of those predictions from a fitted generalized linear model object.
Usage
## S3 method for class 'fastglm'
predict(
object,
newdata = NULL,
type = c("link", "response"),
se.fit = FALSE,
dispersion = NULL,
...
)
Arguments
object |
a fitted object of class inheriting from " |
newdata |
a matrix to be used for prediction |
type |
the type of prediction required. The default is on the scale of the linear predictors;
the alternative " The value of this argument can be abbreviated. |
se.fit |
logical switch indicating if standard errors are required. |
dispersion |
the dispersion of the GLM fit to be assumed in computing the standard errors.
If omitted, that returned by |
... |
further arguments passed to or from other methods. |