skincancer {glmtoolbox} | R Documentation |
Skin cancer in women
Description
The data describe the incidence of nonmelanoma skin cancer among women stratified by age in Minneapolis (St. Paul) and Dallas (Fort Worth).
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".
- ageC
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.
- age
a numeric vector giving the midpoint of age range.
References
Kleinbaum D., Kupper L., Nizam A., Rosenberg E.S. (2013) Applied Regression Analysis and other Multivariable Methods, Fifth Edition, Cengage Learning, Boston.
Examples
data(skincancer)
dev.new()
barplot(1000*cases/population ~ city + ageC, beside=TRUE, col=c("yellow","blue"),
data=skincancer)
legend("topleft", legend=c("St.Paul","Ft.Worth"), title="City",
fill=c("yellow","blue"), bty="n")
[Package glmtoolbox version 0.1.12 Index]