ScoreInd: Simulated time to event data with 5 time independent...

ScoreIndR Documentation

Simulated time to event data with 5 time independent covariates

Description

This dataset is inspired by the simulation described in Hsu and Taylor, Statistics in Medicine (2009) 28:462-475 with an additional DCO.time column

Format

A data.frame containing a row per subject with eleven columns:

Fields

Id

subject identifier

arm

factor for treatment group control=0, active=1

Z1

binary time independent covariate

Z2

continuous time independent covariate

Z3

binary time independent covariate

Z4

continuous time independent covariate

Z5

binary time independent covariate

event

event indicator (1 yes, 0 no)

time

subject censoring/event time (in years)

to.impute

logical, should an event time be imputed for this subject? (this is ignored if subject has event time)

DCO.time

The time the subject would have been censored if they had not had an event or been censored before the data cut off date


InformativeCensoring documentation built on June 7, 2023, 6:09 p.m.