make_prior_distribution: Make a prior distribution from priors

Description Usage Arguments Value See Also Examples

View source: R/set_prior_distribution.R

Description

Create a 'n_param'x 'n_draws' database of possible lambda draws to be attached to the model.

Usage

1
make_prior_distribution(model, n_draws = 4000)

Arguments

model

A causal_model. A model object generated by make_model.

n_draws

A scalar. Number of draws.

Value

A 'data.frame' with dimension 'n_param'x 'n_draws' of possible lambda draws

See Also

Other prior_distribution: get_prior_distribution(), set_prior_distribution()

Examples

1
make_model('X -> Y') %>% make_prior_distribution(n_draws = 5)

CausalQueries documentation built on July 1, 2020, 7:46 p.m.