
Predict from a beezdiscounting_brms model
Source:R/dd-brms-methods.R
predict.beezdiscounting_brms.Rdtype = "response" summarizes brms::posterior_epred() draws (the
indifference-proportion mean) to the posterior median with equal-tailed
intervals; level = "subject" conditions on the subject random effects,
"population" sets them to zero. type = "parameters" returns the
per-subject k summaries.
Arguments
- object
A
beezdiscounting_brmsobject.- newdata
Optional data frame (defaults to the model frame). The Rachlin guard columns (
xzero/xsafe) are derived automatically.- type
"response"or"parameters".- level
"subject"(default) or"population".- probs
Interval probabilities.
- draws
If
TRUE, return the epred draws matrix.- ...
Unused.