Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

skincancer

Skin cancer in women


Description

The data describe the incidence of nonmelanoma skin cancer for women stratified by age in Minneapolis (St. Paul) and Dallas (Fort Worth). See Kleinbaum et al. (2013, page 751).

Usage

data(skincancer)

Format

A data frame with 16 rows and 4 variables:

cases

a numeric vector giving the nonmelanoma skin cancer counts.

city

a factor giving the city to which correspond the skin cancer counts: "St.Paul" and "Ft.Worth".

age

a factor giving the age range to which correspond the skin cancer counts: "15-24", "25-34", "35-44", "45-54", "55-64", "65-74", "75-84" and "85+".

population

a numeric vector giving the population of women.

References

Kleinbaum D., Kupper L., Nizam A. and Rosenberg E.S. (2013) Applied Regression Analysis and other Multivariable Methods, Fifth Edition, Cengage Learning, Boston.

Examples

barplot(1000*cases/population ~ city + age, beside=TRUE, col=c("yellow","blue"), data=skincancer)
legend(1, 11, legend=c("St.Paul","Ft.Worth"), title="City",
       col=c("yellow","blue"), bty="n", cex=0.9, title.adj=0.2,
       y.intersp=0.1, x.intersp=0.3, pch=15)

glmtoolbox

Set of Tools to Data Analysis using Generalized Linear Models

v0.1.0
GPL-2 | GPL-3
Authors
Luis Hernando Vanegas [aut, cre], Luz Marina Rondón [aut], Gilberto A. Paula [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.