Question
Write an R program Use the excel file linked for the dataset: Obtain histograms for age, passenger, fare Obtain bar charts for embarked, parch, SibSp
Write an R program
Use the excel file linked for the dataset:
- Obtain histograms for age, passenger, fare
- Obtain bar charts for embarked, parch, SibSp
Write and R program
Use the excel file linked for the dataset:
- Obtain histograms for: age passenger fare
- Obtain bar charts for: embarked, parch, SibSp
PassengerId | Survival | Pclass | Sex | Age | SibSp | Parch | Fare | Embarked |
892 | 0 | 3 | male | 34.5 | 0 | 0 | 7.8292 | Q |
893 | 1 | 3 | female | 47 | 1 | 0 | 7 | S |
894 | 0 | 2 | male | 62 | 0 | 0 | 9.6875 | Q |
895 | 0 | 3 | male | 27 | 0 | 0 | 8.6625 | S |
896 | 1 | 3 | female | 22 | 1 | 1 | 12.2875 | S |
897 | 0 | 3 | male | 14 | 0 | 0 | 9.225 | S |
898 | 1 | 3 | female | 30 | 0 | 0 | 7.6292 | Q |
899 | 0 | 2 | male | 26 | 1 | 1 | 29 | S |
900 | 1 | 3 | female | 18 | 0 | 0 | 7.2292 | C |
901 | 0 | 3 | male | 21 | 2 | 0 | 24.15 | S |
902 | 0 | 3 | male | 0 | 0 | 7.8958 | S | |
903 | 0 | 1 | male | 46 | 0 | 0 | 26 | S |
904 | 1 | 1 | female | 23 | 1 | 0 | 82.2667 | S |
905 | 0 | 2 | male | 63 | 1 | 0 | 26 | S |
906 | 1 | 1 | female | 47 | 1 | 0 | 61.175 | S |
907 | 1 | 2 | female | 24 | 1 | 0 | 27.7208 | C |
908 | 0 | 2 | male | 35 | 0 | 0 | 12.35 | Q |
909 | 0 | 3 | male | 21 | 0 | 0 | 7.225 | C |
910 | 1 | 3 | female | 27 | 1 | 0 | 7.925 | S |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started