Learn R Programming

CausalQueries (version 1.1.0)

minimal_data: Creates a data frame for case with no data

Description

Creates a data frame for case with no data

Usage

minimal_data(model)

Value

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

Arguments

model

A causal_model. A model object generated by make_model.

Examples

Run this code
# \donttest{
model <- make_model('X -> K -> Y')
CausalQueries:::minimal_data(model)
# }

Run the code above in your browser using DataLab