Question: Question 1 The Titanic Passenger Survival Data Set provides information on the fate of passengers on the fatal maiden voyage of the ocean liner Titanic.

 Question 1 The Titanic Passenger Survival Data Set provides information on

Question 1 The Titanic Passenger Survival Data Set provides information on the fate of passengers on the fatal maiden voyage of the ocean liner \"Titanic.\" The dataset is available from the Department of Biostatistics at the Vanderbilt University School of Medicine (litpszllbiostatappyumc.org/wiki/pub/Main/DataSets/titanic3.csv)i_n several formats. store the Titanic Data Set titanic_train using the following commands. #INSERT YOUR ANSWER HERE a. Extract the columns sex, age, cabin and survived into a new data frame of the name 'titanicSubset'. #INSERT YOUR ANSWER HERE b. Use the aggregate() function to display the total number of survivors grouped by sex #INSERT YOUR ANSWER HERE c. Use the count() function in dplyr package to display the total number of passengers within each Ticket Class Pclass . #INSERT YOUR ANSWER HERE d. Answer the following graphically (using visualization): 1. What was the survival rates for females and males? 2. What was the age distribution on the Titanic? Hint: You can use ggplot2 #INSERT YOUR ANSWER HERE e)Use the for loop and if control statements to list the women's names, age 34 or more that embarked from S (Southampton), on the Titanic. #INSERT YOUR ANSWER HERE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!