Description Usage Arguments Value Note Author(s) See Also Examples
Function to predict the age (years) at which a person may die of lung cancer given gender, age and tumor stage at diagnosis.
1 | tdeath_lung(u1, u2, covs_lung)
|
u1, u2 |
random numbers from Unif[0,1] required for the simulation |
covs_lung |
3-dimensional vector with values for the covariates related to death from lung cancer, i.e., tumor stage at diagnosis ("localized", "regional", or "distant"), age (years) at diagnosis, and gender ("male" or "female") |
An R-object of class "list" with the following six components:
[[1]]: random number u1 used in the simulation
[[2]]: random number u2 used in the simulation
[[3]]: index number of the time interval
[[4]]: age (years) at death from lung cancer
[[5]]: whether the person died of lung cancer("Yes") or not("No")
[[6]]: R-object of class "list" with the relevant CIF estimates
Components [[1]]-[[3]] and [[6]] are returned for testing purposes only.
Stavroula A. Chrysanthopoulou
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.