minimal_data: Creates a data frame for case with no data

View source: R/data_helpers.R

minimal_dataR Documentation

Creates a data frame for case with no data

Description

Creates a data frame for case with no data

Usage

minimal_data(model)

Arguments

model

A causal_model. A model object generated by make_model.

Value

A data.frame with one row of NAs and columns named according to nodes in a model.

Examples


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


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