predict.moultmcmc.Rd
Predict method for moultmcmc models
# S3 method for moultmcmc
predict(
object,
newdata = NULL,
predict.type = "parameters",
summary = TRUE,
intervals = 0.1,
prob = 0.95,
...
)
a fitted moultmcmc model
data.frame with explanatory variables for which to make predictions
specifies form of predictions, see details.
logical, if TRUE (default) return a data.frame of posterior means, otherwise return a list of arrays of the full posterior sample of the predicted quantity (with one list element per predicted quantity and array dimensions nrow(newdata) *number or posterior draws)
not currently used
nominal coverage probability of credible interval
further arguments
a data.frame or list, depending on input arguments