Learn R Programming

BSDA (version 0.1)

Kidsmoke: Smoking habits of boys and girls ages 12 to 18

Description

Data for Exercise 4.85

Usage

Kidsmoke

Arguments

source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

Run this code
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