predict.cat_glm | R Documentation |
This function generates predictions for new data points based on a fitted categorical Generalized Linear Model (GLM) object.
Depending on the type of model, it either uses stats::predict.glm
or calculates predictions based on the model coefficients.
## S3 method for class 'cat_glm'
predict(object, newdata = NULL, ...)
object |
A fitted model object of class |
newdata |
An optional data frame containing new predictor values. If |
... |
Additional arguments passed to |
A vector of predicted values for the specified new data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.