powered by
Names for causal types
causal_type_names(causal_types)
A data.frame whose rows containing the 0-1 digits that conform the causal types.
data.frame
A data.frame whose rows contain the character values that conform each causal type in a model.
# NOT RUN { model <- make_model('X -> Y') possible_types <- get_nodal_types(model) df <- data.frame(expand.grid(possible_types, stringsAsFactors = FALSE)) CausalQueries:::causal_type_names(df) # }
Run the code above in your browser using DataLab