R Dataset / Package KMsurv / kidtran
On this R-data statistics page, you will find information about the kidtran data set which pertains to data from Section 1.7. The kidtran data set is found in the KMsurv R package. You can load the kidtran data set in R by issuing the following command at the console data("kidtran"). This will load the data into a variable called kidtran. If R says the kidtran 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 kidtran R data set. The size of this file is about 15,010 bytes.
data from Section 1.7
Description
The kidtran
data frame has 863 rows and 6 columns.
Format
This data frame contains the following columns:
- obs
-
Observation number
- time
-
Time to death or on-study time
- delta
-
Death indicator (0=alive, 1=dead)
- gender
-
1=male, 2=female
- race
-
1=white, 2=black
- age
-
Age in years
Source
Klein and Moeschberger (1997) Survival Analysis Techniques for Censored and truncated data, Springer.
Examples
data(kidtran)
Dataset imported from https://www.r-project.org.