Learn R Programming

BSDA (version 1.01)

Snore: Snoring versus heart disease

Description

Data for Exercise 8.21

Usage

Snore

Arguments

Format

A data frame with 2 observations on the following 5 variables.

heart

a factor with levels no yes

Non

a numeric vector

occasion

a numeric vector

nearly

a numeric vector

every

a numeric vector

Examples

Run this code
# NOT RUN {
str(Snore)
attach(Snore)
chisq.test(Snore[,2:5])
detach(Snore)
# }

Run the code above in your browser using DataLab