predict.moultmcmc | R Documentation |
Predict method for moultmcmc models
## S3 method for class 'moultmcmc' predict( object, newdata = NULL, predict.type = "parameters", summary = TRUE, intervals = 0.1, prob = 0.95, ... )
object |
a fitted moultmcmc model |
newdata |
data.frame with explanatory variables for which to make predictions |
predict.type |
specifies form of predictions, see details. |
summary |
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) |
intervals |
not currently used |
prob |
nominal coverage probability of credible interval |
... |
further arguments |
a data.frame or list, depending on input arguments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.