Last chance! 50% off unlimited learning
Sale ends in
Data for Exercise 4.85
Kidsmoke
A data frame with 1000 observations on the following 2 variables.
gender
a numeric vector
smoke
a numeric vector
# NOT RUN {
str(Kidsmoke)
attach(Kidsmoke)
table(gender,smoke)
addmargins(table(gender,smoke))
addmargins(table(gender,smoke)/1000)
detach(Kidsmoke)
# }
Run the code above in your browser using DataLab