data_type_names: Data type names

View source: R/data_helpers.R

data_type_namesR 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 <- make_data(model, n = 2)
data_type_names(model, data)

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