Learn R Programming

regmedint (version 1.0.1)

vv2015: Example dataset from Valeri and VanderWeele 2015.

Description

An example dataset from Valeri and VanderWeele (2015) <doi:10.1097/EDE.0000000000000253>.

Usage

vv2015

Arguments

Format

A tibble with 100 rows and 7 variables:

id

Positive integer id.

x

Binary treatment assignment variable.

m

Binary mediator variable.

y

Time to event outcome variable.

cens

Binary censoring indicator. Censored is 1.

c

Continuous confounder variable.

event

Binary event indicator. Event is 1.