cohort_1 | R Documentation |
Survival outcome was simulated with true hazard:
\log \{h(t)\} = \log \{h_0\} + \log(1.1)Age + \log(2)Gender.
cohort_1
A data frame with 10000 rows and 5 variables:
Subject ID of each subject.
Event/censoring indicator. Events are indicated by y=1.
Event/censoring time (in years). Maximum follow-up time is 25 years.
Age of subjects (rounded to integers).
Gender of subjects (1 for male and 0 for female).
library(survival) data("cohort_1", package = "SamplingDesignTools") summary(coxph(Surv(t, y) ~ age + gender, data = cohort_1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.