set_ambiguities_matrix {CausalQueries}R Documentation

Set ambiguity matrix

Description

Add an ambiguities matrix to a model

Usage

set_ambiguities_matrix(model, A = NULL)

Arguments

model

A causal_model. A model object generated by make_model.

A

A data.frame. Ambiguity matrix. Not required but may be provided to avoid repeated computation for simulations.

Value

An object of type causal_model with the ambiguities matrix attached

Examples

model <- make_model('X -> Y') %>%
         set_ambiguities_matrix()
model$A

[Package CausalQueries version 0.0.3 Index]