Description Usage Arguments Value Examples
Converts a raw illness-death dataset to a data frame which can
be passed into TPreg
function.
1 |
Stime |
the possibly censored total survival time. |
Sind |
the indicator of uncensored total survival time. |
Iltime |
the arrival time to the intermediate state, for example diseased, recurrence, or relapse time. |
Ilind |
the indicator of visiting intermediate state. |
covar |
a vector of covariates. |
... |
arguments to be passed to methods. |
iddata
returns an object of class data frame, containing at least the following components:
id |
identification variable |
Zt |
the possibly censored sojourn time in initial state |
delta1 |
the indicator of uncensored sojourn time in initial state |
Tt |
the possibly censored total survival time |
delta |
the indicator of uncensored total survival time |
covar |
a vector of covariates |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.