Learn R Programming

gfoRmulaICE (version 1.1.1)

compData: Example Dataset for a Survival Outcome with Both Censoring and Competing Event

Description

A dataset with 26581 observations on 10000 individuals and 4 time points. The dataset is in long format with each row representing the record of one individual at one time point.

Usage

compData

Arguments

Format

A data frame with 26581 rows and 9 variables:

t0

Time index.

id

Unique identifier for each individual.

L1

Binary covariate.

L2

Continuous covariate.

A1

Categorical treatment variable with levels 1, 2, and 3.

A2

Binary treatment variable.

C

Censoring event indicator.

D

Competing event indicator.

Y

Outcome indicator.