seasonal {TwoWaySurvival} | R Documentation |
Simulated data with periodic component
Description
This data give the 1000 simulated observations with survival time and a periodic (or seasonal) component time scale.
One addditional covariate is simulated too.
Usage
data(seasonal)
Format
A data frame containing 1000 sampled observations. Description of columns:
- birth
- Simulated seasonal time of entry in the study or starting point, like season of birth in a year.
- surv
- Simulated survival time.
- status
- Simulated censoring indicator in the usual notation for right censored data.
- covariate
- Simulated covariate.
[Package
TwoWaySurvival version 2.2
Index]