Learn R Programming

VGAMdata (version 1.1-13)

T101: Alcohol, Cigarette, and Marijuana Use, by Gender and Race

Description

Alcohol, cigarette, and marijuana use, by gender and race, in 2276 senior high school students (Table 10.1 of Agresti, 2013).

Usage

data(T101)

Arguments

Format

The complete data frame contains 32 observations (rows) and the following columns:

alc

Alcohol use: 1 is yes, 0 is no.

cig

Cigarette use: 1 is yes, 0 is no.

marj

Marijuana use: 1 is yes, 0 is no.

race

Factor: White or Other.

gender

Factor: F or M.

count

Frequency. Data frame T101 has the 0 counts in tb101 deleted.

References

Agresti, A. (2013) Categorical Data Analysis, Third Edition. Hoboken, NJ, USA: John Wiley & Sons.

Examples

Run this code
summary(T101)

Run the code above in your browser using DataLab