The pyears() and survexp() routines in the survival package are designed for 
these 
calculations.
See the technical report #63 of the Mayo Biostat group for examples


http://www.mayo.edu/research/departments-divisions/department-health-sciences-research/division-biomedical-statistics-infomatics/technical-reports
 
<http://www.mayo.edu/research/departments-divisions/department-health-sciences-research/division-biomedical-statistics-informatics/technical-reports>

Terry Therneau

---------- begin included message -----------

I am looking for R  example codes to compute age-standardized death rates by 
smoking and 
psychological distress status using person-years of observation created from 
the National 
Health Interview Survey Linked Mortality Files.  Any help with the example 
codes or 
references will be appreciated.


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to