R Dataset / Package vcd / Lifeboats
Documentation |
---|
On this R-data statistics page, you will find information about the Lifeboats data set which pertains to Lifeboats on the Titanic. The Lifeboats data set is found in the vcd R package. You can load the Lifeboats data set in R by issuing the following command at the console data("Lifeboats"). This will load the data into a variable called Lifeboats. If R says the Lifeboats data set is not found, you can try installing the package by issuing this command install.packages("vcd") 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 Lifeboats R data set. The size of this file is about 904 bytes. Lifeboats on the TitanicDescriptionData from Mersey (1912) about the 18 (out of 20) lifeboats launched before the sinking of the S. S. Titanic. Usagedata("Lifeboats") FormatA data frame with 18 observations and 8 variables.
SourceM. Friendly (2000), Visualizing Categorical Data: http://euclid.psych.yorku.ca/ftp/sas/vcd/catdata/lifeboat.sas ReferencesL. Mersey (1912), Report on the loss of the “Titanic” (S. S.). Parliamentary command paper 6452. M. Friendly (2000), Visualizing Categorical Data. SAS Institute, Cary, NC. Examplesdata("Lifeboats") attach(Lifeboats) ternaryplot( Lifeboats[,4:6], pch = ifelse(side == "Port", 1, 19), col = ifelse(side == "Port", "red", "blue"), id = ifelse(men / total > 0.1, as.character(boat), NA), prop_size = 2, dimnames_position = "edge", main = "Lifeboats on the Titanic" ) grid_legend(0.8, 0.9, c(1, 19), c("red", "blue"), c("Port", "Starboard"), title = "SIDE") detach(Lifeboats) -- 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 |
Attachment | Size |
---|---|
dataset-14247.csv | 904 bytes |