View source: R/prep_stan_data.R
prep_stan_data | R Documentation |
Create a list containing the data to be passed to 'stan
prep_stan_data(
model,
data,
keep_type_distribution = TRUE,
censored_types = NULL
)
model |
A |
data |
A |
A list
containing data to be passed to 'stan'
model <- make_model('X->Y')
data <- collapse_data(make_data(model, n = 6), model)
CausalQueries:::prep_stan_data(model, data)
model <- make_model('X->Y') |>
set_confound(list(X = 'Y[X=1]>Y[X=0]'))
data <- collapse_data(make_data(model, n = 6), model)
CausalQueries:::prep_stan_data(model, data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.