R Dataset / Package KMsurv / pneumon
On this R-data statistics page, you will find information about the pneumon data set which pertains to data from Section 1.13. The pneumon data set is found in the KMsurv R package. You can load the pneumon data set in R by issuing the following command at the console data("pneumon"). This will load the data into a variable called pneumon. If R says the pneumon data set is not found, you can try installing the package by issuing this command install.packages("KMsurv") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the pneumon R data set. The size of this file is about 115,270 bytes.
data from Section 1.13
Description
The pneumon
data frame has 3470 rows and 15 columns.
Format
This data frame contains the following columns:
- chldage
-
Age child had pneumonia, months
- hospital
-
Indicator for hospitalization for pneumonia (1=yes, 0=no)
- mthage
-
Age of the mother, years
- urban
-
Urban environment for mother (1=yes, 0=no)
- alcohol
-
Alcohol use by mother during pregnancy (1=yes, 0=no)
- smoke
-
Cigarette use by mother during pregnancy (1=yes, 0=no)
- region
-
Region of the coutry (1=northeast, 2=north central, 3=south, 4=west)
- poverty
-
Mother at poverty level (1=yes, 0=no)
- bweight
-
Normal birthweight (>5.5 lbs.) (1=yes, 0=no)
- race
-
Race of the mother (1=white, 2=black, 3=other)
- education
-
Education of the mother, years of school
- nsibs
-
Number of siblings of the child
- wmonth
-
Month the child was weaned
- sfmonth
-
Month the child on solid food
- agepn
-
Age child in the hospital for pneumonia, months
Source
Klein and Moeschberger (1997) Survival Analysis Techniques for Censored and truncated data, Springer. National Longitudinal Survey of Youth Handbook The Ohio State University, 1995.
Examples
data(pneumon)
Dataset imported from https://www.r-project.org.