powered by
Data for Exercise 4.85
Kidsmoke
A data frame with 1000 observations on the following 2 variables.
gender
a numeric vector
smoke
# 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