Smoking habits of boys and girls ages 12 to 18
Data for Exercise 4.85
Kidsmoke
A data frame/tibble with 1000 observations on two variables
character vector with values female
and male
a character vector with values no
and yes
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
T1 <- xtabs(~smoke + gender, data = Kidsmoke) T1 prop.table(T1) prop.table(T1, 1) prop.table(T1, 2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.