Learn R Programming

MESS (version 0.5.7)

smokehealth: Effect of smoking on self reported health

Description

Effect of smoking at 45 years of age on self reported health five years later. Data are on a sample of males from the Glostrup survey.

Arguments

Format

A table with daily smoking categories for the rows and self reported health five years later as the columns.

Examples

Run this code
# NOT RUN {
data(smokehealth)
m <- smokehealth
m[,3] <- m[,3]+ m[,4]
m[4,] <- m[4,] + m[5,]
m <- m[1:4,1:3]
gkgamma(m)
chisq.test(m)

# }

Run the code above in your browser using DataLab