Learn R Programming

RsqMed (version 1.1)

example: Example dataset

Description

Example dataset for RsqMed.

Arguments

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.