# Make, Update, and Query Binary Causal Models

## Documentation for package ‘CausalQueries’ version 1.1.1

- DESCRIPTION file.
- Package NEWS.

## Help Pages

-package | 'CausalQueries'
CausalQueries-package | 'CausalQueries'
collapse_data | Make compact data with data strategies
complements | Make statement for complements
decreasing | Make monotonicity statement (negative)
democracy_data | Development and Democratization: Data for replication of analysis in *Integrated Inferences*
draw_causal_type | Draw a single causal type given a parameter vector
expand_data | Expand compact data object to data frame
find_rounding_threshold | helper to find rounding thresholds for print methods
get_all_data_types | Get all data types
get_ambiguities_matrix | Get ambiguities matrix
get_args_for | helper to extract arguments for a specific function
get_event_probabilities | Draw event probabilities
get_parameters | Setting parameters
get_parameter_names | Get parameter names
get_parents | Get list of parents of all nodes in a model
get_parmap | Get parmap: a matrix mapping from parameters to data types
get_priors | Setting priors
get_query_types | Look up query types
get_type_prob | Get type probabilities
get_type_prob_c | generates one draw from type probability distribution for each type in P
get_type_prob_multiple_c | generates n draws from type probability distribution for each type in P
increasing | Make monotonicity statement (positive)
inspect | inspect
institutions_data | Institutions and growth: Data for replication of analysis in *Integrated Inferences*
interacts | Make statement for any interaction
interpret_type | Interpret or find position in nodal type
lipids_data | Lipids: Data for Chickering and Pearl replication
make_data | Make data
make_events | Make data in compact form
make_model | Make a model
make_parameters | Setting parameters
make_parameter_matrix | Make parameter matrix
make_parmap | Make parmap: a matrix mapping from parameters to data types
make_priors | Setting priors
non_decreasing | Make monotonicity statement (non negative)
non_increasing | Make monotonicity statement (non positive)
parameter_setting | Setting parameters
plot_dag | Alias
print.causal_model | Print a short summary for a causal model
print.model_query | Print a tightened summary of model queries
print.stan_objects | Print a short summary for stan_objects
print.summary.causal_model | Summarizing causal models
prior_setting | Setting priors
query_distribution | Calculate query distribution
query_model | Generate estimands data frame
set_ambiguities_matrix | Set ambiguity matrix
set_confound | Set confound
set_parameters | Setting parameters
set_parameter_matrix | Set parameter matrix
set_parmap | Set parmap: a matrix mapping from parameters to data types
set_priors | Setting priors
set_prior_distribution | Add prior distribution draws
set_restrictions | Restrict a model
substitutes | Make statement for substitutes
summarise_distribution | helper to compute mean and sd of a distribution data.frame
summary.causal_model | Summarizing causal models
te | Make treatment effect statement (positive)
update_model | Fit causal model using 'stan'