Obtains predictions from a fitted flic
object.
# S3 method for flic
predict(object, newdata, type = c("link", "response"), ...)
A fitted object of class flic
.
Optionally, a data frame in which to look for variables with which to predict. If omitted, the fitted linear predictors are used.
The type of prediction required. The default is on the scale of the linear predictors. The alternative response
gives the predicted probabilities.
further arguments passed to or from other methods.
A vector or matrix of predictions
If newdata
is omitted the predictions are based on the data used for the fit.