Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 2 . In titanic _ train.csv use R programming and R studio 1 . Load the titanic _ train.csv and find the passenger between

Q2. In titanic_train.csv use R programming and R studio
1. Load the titanic_train.csv and find the passenger between age 20 and 50?
2. Find the male and femalePassengerId Survived Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked
103 Braund, Mr. Owen Harris male 2210 A/5211717.25 S
211 Cumings, Mrs. John Bradley (Florence Briggs Thayer) female 3810 PC 1759971.2833 C85 C
313 Heikkinen, Miss. Laina female 2600 STON/O2.31012827.925 S
411 Futrelle, Mrs. Jacques Heath (Lily May Peel) female 351011380353.1 C123 S
503 Allen, Mr. William Henry male 35003734508.05 S
603 Moran, Mr. James male 003308778.4583 Q
701 McCarthy, Mr. Timothy J male 54001746351.8625 E46 S
803 Palsson, Master. Gosta Leonard male 23134990921.075 S
913 Johnson, Mrs. Oscar W (Elisabeth Vilhelmina Berg) female 270234774211.1333 S
1012 Nasser, Mrs. Nicholas (Adele Achem) female 141023773630.0708 C
1113 Sandstrom, Miss. Marguerite Rut female 411 PP 954916.7 G6 S
1211 Bonnell, Miss. Elizabeth female 580011378326.55 C103 S
1303 Saundercock, Mr. William Henry male 2000 A/5.21518.05 S
1403 Andersson, Mr. Anders Johan male 391534708231.275 S
1503 Vestrom, Miss. Hulda Amanda Adolfina female 14003504067.8542 S
1612 Hewlett, Mrs.(Mary D Kingcome) female 550024870616 S
1703 Rice, Master. Eugene male 24138265229.125 Q
1812 Williams, Mr. Charles Eugene male 0024437313 S
1903 Vander Planke, Mrs. Julius (Emelia Maria Vandemoortele) female 311034576318 S
2013 Masselmani, Mrs. Fatima female 0026497.225 C
2102 Fynney, Mr. Joseph J male 350023986526 S
2212 Beesley, Mr. Lawrence male 340024869813 D56 S
2313 McGowan, Miss. Anna "Annie" female 15003309238.0292 Q
2411 Sloper, Mr. William Thompson male 280011378835.5 A6 S
2503 Palsson, Miss. Torborg Danira female 83134990921.075 S
2613 Asplund, Mrs. Carl Oscar (Selma Augusta Emilia Johansson) female 381534707731.3875 S
2703 Emir, Mr. Farred Chehab male 0026317.225 C
2801 Fortune, Mr. Charles Alexander male 193219950263 C23 C25 C27 S
2913 O'Dwyer, Miss. Ellen "Nellie" female 003309597.8792 Q
3003 Todoroff, Mr. Lalio male 003492167.8958 S
3101 Uruchurtu, Don. Manuel E male 4000 PC 1760127.7208 C
3211 Spencer, Mrs. William Augustus (Marie Eugenie) female 10 PC 17569146.5208 B78 C
3313 Glynn, Miss. Mary Agatha female 003356777.75 Q
3402 Wheadon, Mr. Edward H male 6600 C.A.2457910.5 S
3501 Meyer, Mr. Edgar Joseph male 2810 PC 1760482.1708 C
3601 Holverson, Mr. Alexander Oskar male 421011378952 S
3713 Mamee, Mr. Hanna male 0026777.2292 C
3803 Cann, Mr. Ernest Charles male 2100 A./5.21528.05 S
3903 Vander Planke, Miss. Augusta Maria female 182034576418 S
4013 Nicola-Yarred, Miss. Jamila female 1410265111.2417 C
4103 Ahlin, Mrs. Johan (Johanna Persdotter Larsson) female 401075469.475 S
4202 Turpin, Mrs. William John Robert (Dorothy Ann Wonnacott) female 27101166821 S
4303 Kraeff, Mr. Theodor male 003492537.8958 C
4412 Laroche, Miss. Simonne Marie Anne Andree female 312 SC/Paris 212341.5792 C
4513 Devaney, Miss. Margaret Delia female 19003309587.8792 Q
4603 Rogers, Mr. William John male 00 S.C./A.4.235678.05 S
4703 Lennon, Mr. Denis male 1037037115.5 Q
4813 O'Driscoll, Miss. Bridget female 00143117.75 Q
4903 Samaan, Mr. Youssef male 20266221.6792 C
5003 Arnold-Franchi, Mrs. Josef (Josefine Franchi) female 181034923717.8 S
5103 Panula, Master. Juha Niilo male 741310129539.6875 S
5203 Nosworthy, Mr. Richard Cater male 2100 A/4.398867.8 S
5311 Harper, Mrs. Henry Sleeper (Myna Haxtun) female 4910 PC 1757276.7292 D33 C
5412 Faunthorpe, Mrs. Lizzie (Elizabeth Anne Wilkinson) female 2910292626 S
5501 Ostby, Mr. Engelhart Cornelius male 650111350961.9792 B3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Linear Algebra with Applications

Authors: Bernard Kolman, David Hill

9th edition

132296543, 978-0132296540

More Books

Students also viewed these Mathematics questions