R Dataset / Package KMsurv / kidney
On this R-data statistics page, you will find information about the kidney data set which pertains to data from Section 1.4. The kidney data set is found in the KMsurv R package. You can load the kidney data set in R by issuing the following command at the console data("kidney"). This will load the data into a variable called kidney. If R says the kidney 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 kidney R data set. The size of this file is about 1,798 bytes.
data from Section 1.4
Description
The kidney
data frame has 119 rows and 3 columns.
Format
This data frame contains the following columns:
- time
-
Time to infection, months
- delta
-
Infection indicator (0=no, 1=yes)
- type
-
Catheter placement (1=surgically, 2=percutaneously)
Source
Klein and Moeschberger (1997) Survival Analysis Techniques for Censored and truncated data, Springer. Nahman el at. J. Am Soc. Nephrology 3 (1992): 103-107.
Examples
data(kidney)
Dataset imported from https://www.r-project.org.