Description Usage Arguments Value Author(s) See Also Examples
Uses background mortality rates to simulate background survival time for matching sex, age and year.
1 |
d |
Data frame containing sex, agedx, yrdx, surv, and status columns of observed data. |
mrt |
Mortality data binary made by mkMrt(). |
rep |
Number of simulated replicates of each observed case. |
ltb |
Life table data binary made by mkLT(). Default of NULL => skip it. |
unif |
TRUE => death time in final year is uniform random draw. False => death at mid-point of year. |
Input d with simulation rows added below it, identified as "simulated" in a new column called type.
Tom Radivoyevitch (radivot@ccf.org)
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.