Survival rates by gender.

1. How many male passengers were on the Titanic? Female passengers? Please show the R code. 2. What was the survival rate for male passengers? Female passengers? Please show the R code. 3. Visualize survival rates by gender.