simdata: Simulated data for illustrative purposes

simdataR Documentation

Simulated data for illustrative purposes

Description

Data were simulated using the simsurv package. The data generating mechanism is Weibull with administrative censoring at time=10. The first 4 covariates have non-zero effects and the remainder are noise variables. The first 2 covariate effects are time-varying. Details on the data generating mechanism can be found in the source files (data-raw folder).

Usage

simdata

Format

A data frame with 250 rows and 12 columns

id

identifier

eventtime

eventtime

status

status indicator (1=event, 0=censored)

x1

covariates 1

x2

covariates 2

x3

covariates 3

x4

covariates 4

x5

covariates 5

x6

covariates 6

x7

covariates 7

x8

covariates 8

x9

covariates 9


jeroenhoogland/regsurv documentation built on March 20, 2023, 3:37 a.m.