An international case-control study to test the hypothesis that breast cancer is related to the age that a woman gives childbirth.
Macmahon
A labelled tibble with 185 rows and 2 variables:
Diagnosed with breast cancer, a factor with levels "No" and "Yes".
Age mother gives childbirth, factor with levels "<20", "20-24", "25-29", "30-34" and ">34".
# NOT RUN { data(Macmahon) Macmahon %>% cross_tab(cancer ~ age) odds_trend(cancer ~ age, data = Macmahon)$df odds_trend(cancer ~ age, data = Macmahon)$fig # }
Run the code above in your browser using DataLab