Predict method for baggr objects
Predict method for baggr objects
## S3 method for class 'baggr' predict(object, nsamples, newdata = NULL, allow_new_levels = T, ...)
object |
model to predict from |
nsamples |
Number of samples to draw from the posterior. Cannot exceed the number of samples in the fitted model. |
newdata |
optional, new data to predict observations from |
allow_new_levels |
whether to allow the model to make predictions about unobserved groups. Without additional group-level information the model will use the unconditional, pooled estimate. |
... |
other arguments to pass to predict function (currently not used) |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.