Description Usage Arguments Value Author(s) See Also
Converts data.frame D into a list of objects containing information regarding person years at risk of death after cancer and the number of deaths observed, in a defined time since exposure interval.
1 |
D |
Input data.frame with columns: yrdx, agedx, surv, and status (1=dead). |
brks |
A vector of break points in years used to form time since diagnosis bins. |
binIndx |
The index of the interval for which py are to be computed by calling this function. |
yearEnd |
The most recent year of available mortality data. |
A list where the first element is a PY matrix (PYM), the second element is a vector of deaths observed in the intervals, and the third is a scalar, the py-weighted midpoint of the time intervals.
Tom Radivoyevitch (radivot@ccf.org)
SEERaBomb-package, getE,post1PYO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.