bartCause-package objectsGet prediction draws from posterior of bartCause-package objects
# S3 method for bartcFit
predicted_draws(
object,
...,
value = ".prediction",
re_formula = NULL,
fitstage = c("response", "assignment")
)A bartCauseFit object.
Additional arguments (e.g. newdata) passed to the underlying prediction method for the type of model given.
The name of the output column.
If NULL (default), include all group-level effects; if NA, include no group-level effects.
If is.null(type), return posterior from response or treatment assignment model.