powered by
Add an ambiguities matrix to a model
set_ambiguities_matrix(model, A = NULL)
A causal_model. A model object generated by make_model.
causal_model
make_model
A data.frame. Ambiguity matrix. Not required but may be provided to avoid repeated computation for simulations.
data.frame
An object of type causal_model with the ambiguities matrix attached
# NOT RUN { model <- make_model('X -> Y') %>% set_ambiguities_matrix() model$A # }
Run the code above in your browser using DataLab