melanom | R Documentation |
The melanom
data frame has 205 rows and 7 columns.
It contains data relating to the survival of patients after an operation for
malignant melanoma, collected at Odense University Hospital by K.T.
Drzewiecki.
melanom
This data frame contains the following columns:
no
a numeric vector, patient code.
status
a numeric vector code, survival status; 1: dead from melanoma, 2: alive, 3: dead from other cause.
days
a numeric vector, observation time.
ulc
a numeric vector code, ulceration; 1: present, 2: absent.
thick
a numeric vector, tumor thickness (1/100 mm).
sex
a numeric vector code; 1: female, 2: male.
P.K. Andersen, Ø. Borgan, R.D. Gill, and N. Keiding (1991), Statistical Models Based on Counting Processes, Appendix 1, Springer-Verlag.
require(survival)
plot(survfit(Surv(days,status==1)~1,data=melanom))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.