View source: R/predicted_extraction.R
predict.tbl_post_pred | R Documentation |
summary table of predicted values from predictive posterior
## S3 method for class 'tbl_post_pred'
predict(x, scale = c("resp"), center = median, interval = 0.95, ...)
## S3 method for class 'brmsfit'
predict(x, scale = c("resp"), center = median, interval = 0.95, ...)
## S3 method for class 'stanreg'
predict(x, scale = c("resp"), center = median, interval = 0.95, ...)
x |
regression model or tbl_postpred |
scale |
linpred or resp |
center |
function for computing the center estimate (median) |
interval |
credibility interval: .95 |
... |
passing parameters to tbl_postpred (e.g. thin) |
coefficient table with center and interval estimates per obs
The standard center function is the posterior median
Martin Schmettow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.