Update causal types based on nodal types
Arguments
- model
A
causal_model
. A model object generated bymake_model
.- restrict_given
a character vector of subsetting instructions for rows to be dropped from causal types data.frame.
Examples
CausalQueries:::update_causal_types(make_model('X->Y'))
#>
#> Causal Types:
#> cartesian product of nodal types
#>
#> X Y
#> X0.Y00 0 00
#> X1.Y00 1 00
#> X0.Y10 0 10
#> X1.Y10 1 10
#> X0.Y01 0 01
#> X1.Y01 1 01
#> X0.Y11 0 11
#> X1.Y11 1 11