Learn R Programming

tidytreatment (version 0.3.1)

tidy_draws.bartcFit: Tidy access to posterior of bartCause-package objects

Description

Tidy access to posterior of bartCause-package objects

Usage

# S3 method for bartcFit
tidy_draws(model, type = NULL, fitstage = c("response", "assignment"), ...)

Arguments

model

A bartCauseFit object.

type

Posterior quantity to return. See bartc-generics.

fitstage

If is.null(type), return posterior from response or treatment assignment model.

...

Additional parameters passed up the generic method chain.