BCdata | R Documentation |
Breast cancer rates in Iceland by year of birth (11 cohorts from 1840-1849 to 1940-1949) and by age (13 groups from 20-24 to 80-84 years). Analysed by Breslow and Clayton (1993). Data is used also in BUGS Example “Ice: non-parametric smoothing in an age-cohort model”. Data supplied with file offsetdata.rda.
data(BCdata)
Description of data frames:
Fields:
1. | age | Age group: 1-13 | numeric |
2. | year | Birth cohort: 1-11 | numeric |
3. | cases | Breast cancer counts | numeric |
4. | pyr | Person-years of risk | numeric |
BUGS. Examples Volume 2. https://www.mrc-bsu.cam.ac.uk/wp-content/uploads/WinBUGS_Vol2.pdf
require(ltable)
data(BCdata, package="ltable")
res1<-MCLogLin(cases~age*year, offset=pyr, data=BCdata, draw=1500, burnin=500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.