Arguments
- parent_n
An integer. Number of parents of a given child.
Value
A data.frame
whose rows contain digits of
each causal types in a model
Examples
# \donttest{
CausalQueries:::type_matrix(2)
#> 00 10 01 11
#> 1 0 0 0 0
#> 2 1 0 0 0
#> 3 0 1 0 0
#> 4 1 1 0 0
#> 5 0 0 1 0
#> 6 1 0 1 0
#> 7 0 1 1 0
#> 8 1 1 1 0
#> 9 0 0 0 1
#> 10 1 0 0 1
#> 11 0 1 0 1
#> 12 1 1 0 1
#> 13 0 0 1 1
#> 14 1 0 1 1
#> 15 0 1 1 1
#> 16 1 1 1 1
# }