mort06.smpl {nutshell}R Documentation

US Mortality Data, 2006

Description

A 10

This data set is used as an example in the book "R in a Nutshell" from O'Reilly Media.

Usage

data(mort06.smpl)

Format

A data frame with 243073 observations on the following 35 variables.

ResidentStatus
a numeric vector
Education1989
a numeric vector, Education (1989 revision)
Education2003
a numeric vector, Education (2003 revision)
EducationFlag
a numeric vector, Education reporting flag
MonthOfDeath
a numeric vector, Month of Death
Sex
a factor with levels F and M
AgeDetail
a numeric vector, Detail Age
AgeSubstitution
a numeric vector, Age Substitution Flag
AgeRecode52
a numeric vector
AgeRecode27
a numeric vector
AgeRecode12
a numeric vector
AgeRecodeInfant22
a numeric vector
PlaceOfDeath
a numeric vector
MaritalStatus
a factor with levels D, M, S, U, and W
DayOfWeekofDeath
a numeric vector
CurrentDataYear
a numeric vector
InjuryAtWork
a factor with levels N, U, and Y
MannerOfDeath
a numeric vector
MethodOfDisposition
a factor with levels B, C, D, E, O, R, and U
Autopsy
a factor with levels N, U, and Y
ActivityCode
a numeric vector
PlaceOfInjury
a numeric vector
ICDCode
a factor
Cause
a factor describing the cause of death
CauseRecode358
a numeric vector, 358 Cause Recode
CauseRecode113
a numeric vector, 113 Cause Recode
CauseRecode130
a numeric vector, 130 Infant Cause Recode
CauseRecord39
a numeric vector, 39 Cause Recode
Race
a factor with levels American Indian (includes Aleuts and Eskimos) Asian Indian Black Chinese Combined other Asian or Pacific Islander Filipino Guamanian Hawaiian (includes Part-Hawaiian) Japanese Korean Other Asian or Pacific Islander Samoan Vietnamese White
BridgeRaceFlag
a numeric vector
RaceImputationFlag
a numeric vector
RaceRecode3
a numeric vector
RaceRecord5
a numeric vector
HispanicOrigin
a numeric vector
HispanicOriginRecode
a numeric vector
age
a numeric vector

Details

This data set is used as an example in the book "R in a Nutshell" from O'Reilly Media.

Source

http://www.cdc.gov/nchs/data_access/Vitalstatsonline.htm

Examples

data(mort06.smpl)
aov(age~Cause,data=mort06.smpl)
model.tables(aov(age~Cause, data=mort06.smpl))

[Package nutshell version 1.0 Index]