R Dataset / Package KMsurv / stddiag
On this R-data statistics page, you will find information about the stddiag data set which pertains to data from Exercise 5.6, p146. The stddiag data set is found in the KMsurv R package. You can load the stddiag data set in R by issuing the following command at the console data("stddiag"). This will load the data into a variable called stddiag. If R says the stddiag 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 stddiag R data set. The size of this file is about 209 bytes.
data from Exercise 5.6, p146
Description
The stddiag
data frame has 25 rows and 2 columns.
Format
This data frame contains the following columns:
- encounter
-
Months from 1/93 to encounter
- diagnosed
-
Months until STD diagnosed in the clinic
Source
Klein and Moeschberger (1997) Survival Analysis Techniques for Censored and truncated data, Springer.
Examples
data(stddiag)
Dataset imported from https://www.r-project.org.