SimData {ltable} | R Documentation |
Simulated interval censored survival data to model hazard.
Description
Simulated interval censored survival data. For details see user guide ltable2.0.3.pdf.
Usage
data(SimData)
Format
Description of data frames:
Fields:
1. | T | Treatment status: 0-1 | numeric |
2. | C | Comorbidity free status: 0-1 | numeric |
3. | Year | Year of event: 1-3 | numeric |
4. | Counts | Generated number of events | numeric |
5. | Year2 | Dummy var. of Year2: 0-1 | numeric |
6. | Year3 | Dummy var. of Year3: 0-1 | numeric |
7. | offset | Person-years of risk | numeric |
Examples
require(ltable)
data(SimData, package="ltable")
res3<-MCLogLin(Counts~Year2+Year3+T+C, offset=offset, data=SimData, draw=1500, burnin=500)
[Package ltable version 2.0.4 Index]