predicted_draws.stan4bartFit {tidytreatment} | R Documentation |
Get prediction draws from posterior of stan4bart
-package models
Description
Get prediction draws from posterior of stan4bart
-package models
Usage
## S3 method for class 'stan4bartFit'
predicted_draws(object, newdata, ..., value = ".prediction", re_formula = NULL)
Arguments
object |
A |
newdata |
Data frame to generate predictions from [optional]. |
... |
Additional arguments passed to the underlying prediction method for the type of model given. |
value |
The name of the output column. |
re_formula |
If NULL (default), include all group-level effects; if NA, include no group-level effects. |
[Package tidytreatment version 0.3.1 Index]