example {RsqMed}R Documentation

Example dataset

Description

Example dataset for RsqMed.

Format

Contains the following objects:

Y

a vector of 100 observations, representing outcome.

X

a vector of 100 observations, representing independent variable.

M

a 100 * 100 matrix, representing mediators.

Cov

a 100 * 2 matrix, representing covariates.


[Package RsqMed version 1.1 Index]