getMediators: Find mediators.

View source: R/inferConfounders.R

getMediatorsR Documentation

Find mediators.

Description

This function finds Observed mediators on paths between @param x and @param y Helper function to follow recommendations from Cinelli, Forney, and Pearl 2020

Usage

getMediators(conceptualModel, x, y)

Arguments

x

character. Name of AbstractVariable in @param graph.

y

character. Name of AbstractVariable in @param graph.

Value

list of Observed mediators.


emjun/tisaner documentation built on Nov. 9, 2024, 6:32 p.m.