R Dataset / Package boot / melanoma


On this R-data statistics page, you will find information about the melanoma data set which pertains to Survival from Malignant Melanoma. The melanoma data set is found in the boot R package. You can load the melanoma data set in R by issuing the following command at the console data("melanoma"). This will load the data into a variable called melanoma. If R says the melanoma data set is not found, you can try installing the package by issuing this command install.packages("boot") and then attempt to reload the data. 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 melanoma R data set. The size of this file is about 350 bytes.

Survival from Malignant Melanoma


The melanoma data frame has 205 rows and 7 columns.

The data consist of measurements made on patients with malignant melanoma. Each patient had their tumour removed by surgery at the Department of Plastic Surgery, University Hospital of Odense, Denmark during the period 1962 to 1977. The surgery consisted of complete removal of the tumour together with about 2.5cm of the surrounding skin. Among the measurements taken were the thickness of the tumour and whether it was ulcerated or not. These are thought to be important prognostic variables in that patients with a thick and/or ulcerated tumour have an increased chance of death from melanoma. Patients were followed until the end of 1977.




This data frame contains the following columns:


Survival time in days since the operation, possibly censored.


The patients status at the end of the study. 1 indicates that they had died from melanoma, 2 indicates that they were still alive and 3 indicates that they had died from causes unrelated to their melanoma.


The patients sex; 1=male, 0=female.


Age in years at the time of the operation.


Year of operation.


Tumour thickness in mm.


Indicator of ulceration; 1=present, 0=absent.


This dataset is not related to the dataset in the lattice package with the same name.


The data were obtained from

Andersen, P.K., Borgan, O., Gill, R.D. and Keiding, N. (1993) Statistical Models Based on Counting Processes. Springer-Verlag.


Davison, A.C. and Hinkley, D.V. (1997) Bootstrap Methods and Their Application. Cambridge University Press.

Venables, W.N. and Ripley, B.D. (1994) Modern Applied Statistics with S-Plus. Springer-Verlag.


Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-boot-melanoma.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-24077.csv 350 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.