data_type_names {CausalQueries}R Documentation

Data type names

Description

Provides names to data types

Usage

data_type_names(model, data)

Arguments

model

A causal_model. A model object generated by make_model.

data

A data.frame. Data of nodes that can take three values: 0, 1, and NA. In long form as generated by make_events

Value

A vector of strings of data types

Examples

model <- make_model('X -> Y')
data <- simulate_data(model, n = 2)
data_type_names(model, data)

[Package CausalQueries version 0.0.3 Index]