minimal_event_data: Creates a compact data frame for case with no data

View source: R/data_helpers.R

minimal_event_dataR Documentation

Creates a compact data frame for case with no data

Description

Creates a compact data frame for case with no data

Usage

minimal_event_data(model)

Arguments

model

A causal_model. A model object generated by make_model.

Value

A compact data frame where each row represents an element from the exhaustive set of events of a model. The count for each event is set to zero.

Examples


model <- make_model('X -> K -> Y')
CausalQueries:::minimal_event_data(model)


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