View source: R/set_prior_distribution.R
set_prior_distribution | R Documentation |
Add 'n_param x n_draws' database of possible lambda draws to the model.
set_prior_distribution(model, n_draws = 4000)
model |
A |
n_draws |
A scalar. Number of draws. |
An object of class causal_model
. It essentially returns a list containing the elements comprising
a model (e.g. 'statement', 'nodal_types' and 'DAG') with the 'prior_distribution' attached to it.
Other prior_distribution:
get_prior_distribution()
,
make_prior_distribution()
make_model('X -> Y') %>% set_prior_distribution(n_draws = 5) %>% get_prior_distribution()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.