med_dat {hdmed}R Documentation

Mediation Example Dataset

Description

A toy dataset for demonstrating mediation analysis in settings where there are multiple mediators

Usage

med_dat

Format

med_dat

A list with three items:

Y

numeric vector containing the outcome variable

M

numeric matrix of 20 continuous mediators

A

numeric vector containing the exposure variable

...


[Package hdmed version 1.0.1 Index]