Description Usage Arguments Details Value See Also
From source: "The titanic and titanic2 data frames describe the survival status of individual passengers on the Titanic. The titanic data frame does not contain information from the crew, but it does contain actual ages of half of the passengers. The principal source for data about Titanic passengers is the Encyclopedia Titanica. The datasets used here were begun by a variety of researchers. One of the original sources is Eaton & Haas (1994) Titanic: Triumph and Tragedy, Patrick Stephens Ltd, which includes a passenger list created by many researchers and edited by Michael A. Findlay."
1 2 | createTitanic(file = getfilepath("titanic.rds"), write = TRUE,
read = TRUE)
|
file |
character; path/filename to write data file to |
write |
logical; should the dataset be written to disk for later use? (default: TRUE) |
read |
logical; should we try to read the dataset from the specified location first? (default: TRUE) |
Task: formula(survived ~ . -name) # This includes life-boat information
The dataset as a data.table
http://lib.stat.cmu.edu/S/Harrell/data/descriptions/titanic.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.