smokehealth: Effect of smoking on self reported health

Description Format Source Examples

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.

Format

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

Source

Data example found on the internet but originates from Svend Kreiner

Examples

1
2
3
4
5
6
7
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)

MESS documentation built on May 29, 2017, 2:39 p.m.

Search within the MESS package
Search all R packages, documentation and source code