causal_type_names: Names for causal types

View source: R/set_parameter_matrix.R

causal_type_namesR Documentation

Names for causal types

Description

Names for causal types

Usage

causal_type_names(causal_types)

Arguments

causal_types

A data.frame whose rows containing the 0-1 digits that conform the causal types.

Value

A data.frame whose rows contain the character values that conform each causal type in a model.

Examples


model <- make_model('X -> Y')
possible_types <- grab(model, "nodal_types")
df <- data.frame(expand.grid(possible_types, stringsAsFactors = FALSE))
CausalQueries:::causal_type_names(df)


CausalQueries documentation built on June 22, 2024, 6:50 p.m.