powered by
Add `n_param x n_draws` database of possible parameter draws to the model.
set_prior_distribution(model, n_draws = 4000)
An object of class causal_model with the `prior_distribution` attached to it.
causal_model
A causal_model. A model object generated by make_model.
make_model
A scalar. Number of draws.
Other prior_distribution: get_prior_distribution(), make_prior_distribution()
get_prior_distribution()
make_prior_distribution()
make_model('X -> Y') %>% set_prior_distribution(n_draws = 5) %>% grab("prior_distribution")
Run the code above in your browser using DataLab