fill_in_info_interventions: Process Arguments of the 'intervention_effect'() Function

View source: R/fill_in_info_interventions.R

fill_in_info_interventionsR Documentation

Process Arguments of the intervention_effect() Function

Description

Extract information about the intervention from the arguments of the intervention_effect() function and check if they are admissible.

Usage

fill_in_info_interventions(
  internal_list = NULL,
  intervention = NULL,
  outcome = NULL,
  intervention_level = NULL,
  effect_type = NULL,
  lower_bound = NULL,
  upper_bound = NULL
)

Arguments

internal_list

A list with various information extracted from the model.

Value

The inputted list with the following slots filled in:

List of 7
n_intervention
intervention_names
intervention_levels
effect_type
n_outcome
outcome_names
lower_bounds
upper_bounds

References

Gische, C., Voelkle, M.C. (2022) Beyond the Mean: A Flexible Framework for Studying Causal Effects Using Linear Models. Psychometrika 87, 868–901. https://doi.org/10.1007/s11336-021-09811-z


christian-gische/causalSEM documentation built on April 26, 2023, 10:36 p.m.