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)


macartan/gbiqq documentation built on April 28, 2024, 10:07 p.m.