inferInteractions: Infers interaction/moderation effects.

View source: R/inferInteractions.R

inferInteractionsR Documentation

Infers interaction/moderation effects.

Description

This function infers interaction/moderation effects from a conceptual graph.

Usage

inferInteractions(conceptualModel, iv, dv, confounders)

Arguments

conceptualModel

ConceptualModel. With causal graph to use in order to identify confounders.

iv

AbstractVariable. Independent variable that should cause (directly or indirectly) the @param dv.

dv

AbstractVariable. Dependent variable that should not cause the @param iv.

confounders

List. List of confounders to account for in order to estimate the causal effect of @param iv accurately.

Value

List of interaction/moderation effects and their explanations.


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