identification: Check if causal effect if identifiable

View source: R/idar_identification.R

identificationR Documentation

Check if causal effect if identifiable

Description

Check if the causal effect is identifiable given the cause, effect, and the DAG

Usage

identification(cause, effect, dag, plot = FALSE)

Arguments

cause

a string with the name of the node to check if its causal effect on 'effect' is identifiable

effect

a string with the name of the node to check if the causal effect of 'cause' on this node is identifiable

dag

a string with the DAG

plot

boolean. If TRUE plot the DAG and the identification result

Value

It returns a dosearch object from that package


DiogoFerrari/idar documentation built on May 27, 2022, 10:07 p.m.