Learn R Programming

IndependenceTests (version 0.5)

highschool: Highschool data on alcohol, cigarette and marijuana use for highschool seniors

Description

Data from a 1992 survey by the Wright State University School of Medecine and the United Health Services in Dayton, Ohio. The survey asked 2276 students in their final year of highschool in a nonurban area near Dayton, Ohio, whether they had ever used alcohol, cigarettes, or marijuana.

Usage

data(highschool)

Arguments

Format

A data frame of 8 observations on the variables:

alcohol

a factor vector with components "yes" or "no".

cigarette

a factor vector with components "yes" or "no".

marijuana

a factor vector with components "yes" or "no".

count

a numeric vector of frequencies.

References

Agresti A. (2002). Categorical data analysis, Wiley, p. 322.

Examples

Run this code
# NOT RUN {
data(highschool)
# }

Run the code above in your browser using DataLab