powered by
Alcohol, cigarette, and marijuana use, by gender and race, in 2276 senior high school students (Table 10.1 of Agresti, 2013).
data(T101)
The complete data frame contains 32 observations (rows) and the following columns:
Alcohol use: 1 is yes, 0 is no.
Cigarette use: 1 is yes, 0 is no.
Marijuana use: 1 is yes, 0 is no.
Factor: White or Other.
White
Other
Factor: F or M.
F
M
Frequency. Data frame T101 has the 0 counts in tb101 deleted.
T101
tb101
Agresti, A. (2013) Categorical Data Analysis, Third Edition. Hoboken, NJ, USA: John Wiley & Sons.
summary(T101)
Run the code above in your browser using DataLab