Description Usage Format Examples
A simulated dataset with time-invariant longitudinal outcome, time-to-event, and time-invariant covariates. Since longitudinal outcome and all of the covariates are time-invariant, there is only one observation per subject. The time-to-event data is right-censored.
1 |
A data frame with 500 rows and 10 variables.
subject identifier (1 - 500)
continuous covariate between 0 and 1; time-invariant
continuous covariate between 0 and 1; time-invariant
binary covariate; time-invariant
continuous covariate between 0 and 1; time-invariant
categorical covariate taking values from 1, 2, 3, 4, 5; time-invariant
right-censored event time
censoring indicator, 1 if censored and 0 otherwise
longitudinal outcome; time-invariant
true latent class identifier 1, 2, 3, 4, which is determined by the outcomes of 1\{X1 > 0.5\} and 1\{X2 > 0.5\}, with some noise
1 2 3 4 5 6 7 8 | # The data for the first five subjects (ID = 1 - 5):
#
# ID X1 X2 X3 X4 X5 time_Y delta y g
# 1 0.27 0.53 1 0.8 1 10.703940 0 0.8923776 2
# 2 0.37 0.68 1 0.5 3 9.153915 1 0.6871529 2
# 3 0.57 0.38 1 0.2 1 4.489658 1 0.8410745 3
# 4 0.91 0.95 0 0.4 3 1.009941 1 2.1058681 4
# 5 0.20 0.12 0 0.8 5 11.125094 0 0.1383508 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.