Learn R Programming

CausalQueries (version 1.1.0)

update_causal_types: Update causal types based on nodal types

Description

Update causal types based on nodal types

Usage

update_causal_types(model, restrict_given = NULL)

Value

A data.frame containing updated causal types in a model

Arguments

model

A causal_model. A model object generated by make_model.

restrict_given

a character vector of subsetting instructions for rows to be dropped from causal types data.frame.

Examples

Run this code
CausalQueries:::update_causal_types(make_model('X->Y'))

Run the code above in your browser using DataLab