R Dataset / Package MASS / ships


On this R-data statistics page, you will find information about the ships data set which pertains to Ships Damage Data. The ships data set is found in the MASS R package. You can load the ships data set in R by issuing the following command at the console data("ships"). This will load the data into a variable called ships. If R says the ships data set is not found, you can try installing the package by issuing this command install.packages("MASS") 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 ships R data set. The size of this file is about 738 bytes.

Ships Damage Data


Data frame giving the number of damage incidents and aggregate months of service by ship type, year of construction, and period of operation.





type: "A" to "E".


year of construction: 1960–64, 65–69, 70–74, 75–79 (coded as "60", "65", "70", "75").


period of operation : 1960–74, 75–79.


aggregate months of service.


number of damage incidents.


P. McCullagh and J. A. Nelder, (1983), Generalized Linear Models. Chapman & Hall, section 6.3.2, page 137


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-mass-ships.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-40785.csv 738 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.