library(ggplot2)
library(tidyr)
library(dplyr)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(carData)

1). TitanicSurvival

data(titani)
## Warning in data(titani): data set 'titani' not found
TitanicSurvival
##                                 survived    sex     age passengerClass
## Allen, Miss. Elisabeth Walton        yes female 29.0000            1st
## Allison, Master. Hudson Trevor       yes   male  0.9167            1st
## Allison, Miss. Helen Loraine          no female  2.0000            1st
## Allison, Mr. Hudson Joshua Crei       no   male 30.0000            1st
## Allison, Mrs. Hudson J C (Bessi       no female 25.0000            1st
## Anderson, Mr. Harry                  yes   male 48.0000            1st
## Andrews, Miss. Kornelia Theodos      yes female 63.0000            1st
## Andrews, Mr. Thomas Jr                no   male 39.0000            1st
## Appleton, Mrs. Edward Dale (Cha      yes female 53.0000            1st
## Artagaveytia, Mr. Ramon               no   male 71.0000            1st
## Astor, Col. John Jacob                no   male 47.0000            1st
## Astor, Mrs. John Jacob (Madelei      yes female 18.0000            1st
## Aubart, Mme. Leontine Pauline        yes female 24.0000            1st
## Barber, Miss. Ellen Nellie           yes female 26.0000            1st
## Barkworth, Mr. Algernon Henry W      yes   male 80.0000            1st
## Baumann, Mr. John D                   no   male      NA            1st
## Baxter, Mr. Quigg Edmond              no   male 24.0000            1st
## Baxter, Mrs. James (Helene DeLa      yes female 50.0000            1st
## Bazzani, Miss. Albina                yes female 32.0000            1st
## Beattie, Mr. Thomson                  no   male 36.0000            1st
## Beckwith, Mr. Richard Leonard        yes   male 37.0000            1st
## Beckwith, Mrs. Richard Leonard       yes female 47.0000            1st
## Behr, Mr. Karl Howell                yes   male 26.0000            1st
## Bidois, Miss. Rosalie                yes female 42.0000            1st
## Bird, Miss. Ellen                    yes female 29.0000            1st
## Birnbaum, Mr. Jakob                   no   male 25.0000            1st
## Bishop, Mr. Dickinson H              yes   male 25.0000            1st
## Bishop, Mrs. Dickinson H (Helen      yes female 19.0000            1st
## Bissette, Miss. Amelia               yes female 35.0000            1st
## Bjornstrom-Steffansson, Mr. Mau      yes   male 28.0000            1st
## Blackwell, Mr. Stephen Weart          no   male 45.0000            1st
## Blank, Mr. Henry                     yes   male 40.0000            1st
## Bonnell, Miss. Caroline              yes female 30.0000            1st
## Bonnell, Miss. Elizabeth             yes female 58.0000            1st
## Borebank, Mr. John James              no   male 42.0000            1st
## Bowen, Miss. Grace Scott             yes female 45.0000            1st
## Bowerman, Miss. Elsie Edith          yes female 22.0000            1st
## Bradley, Mr. George (George Ar       yes   male      NA            1st
## Brady, Mr. John Bertram               no   male 41.0000            1st
## Brandeis, Mr. Emil                    no   male 48.0000            1st
## Brewe, Dr. Arthur Jackson             no   male      NA            1st
## Brown, Mrs. James Joseph (Marga      yes female 44.0000            1st
## Brown, Mrs. John Murray (Caroli      yes female 59.0000            1st
## Bucknell, Mrs. William Robert (      yes female 60.0000            1st
## Burns, Miss. Elizabeth Margaret      yes female 41.0000            1st
## Butt, Major. Archibald Willingh       no   male 45.0000            1st
## Cairns, Mr. Alexander                 no   male      NA            1st
## Calderhead, Mr. Edward Penningt      yes   male 42.0000            1st
## Candee, Mrs. Edward (Helen Chur      yes female 53.0000            1st
## Cardeza, Mr. Thomas Drake Marti      yes   male 36.0000            1st
## Cardeza, Mrs. James Warburton M      yes female 58.0000            1st
## Carlsson, Mr. Frans Olof              no   male 33.0000            1st
## Carrau, Mr. Francisco M               no   male 28.0000            1st
## Carrau, Mr. Jose Pedro                no   male 17.0000            1st
## Carter, Master. William Thornto      yes   male 11.0000            1st
## Carter, Miss. Lucile Polk            yes female 14.0000            1st
## Carter, Mr. William Ernest           yes   male 36.0000            1st
## Carter, Mrs. William Ernest (Lu      yes female 36.0000            1st
## Case, Mr. Howard Brown                no   male 49.0000            1st
## Cassebeer, Mrs. Henry Arthur Jr      yes female      NA            1st
## Cavendish, Mr. Tyrell William         no   male 36.0000            1st
## Cavendish, Mrs. Tyrell William       yes female 76.0000            1st
## Chaffee, Mr. Herbert Fuller           no   male 46.0000            1st
## Chaffee, Mrs. Herbert Fuller (C      yes female 47.0000            1st
## Chambers, Mr. Norman Campbell        yes   male 27.0000            1st
## Chambers, Mrs. Norman Campbell       yes female 33.0000            1st
## Chaudanson, Miss. Victorine          yes female 36.0000            1st
## Cherry, Miss. Gladys                 yes female 30.0000            1st
## Chevre, Mr. Paul Romaine             yes   male 45.0000            1st
## Chibnall, Mrs. (Edith Martha Bo      yes female      NA            1st
## Chisholm, Mr. Roderick Robert C       no   male      NA            1st
## Clark, Mr. Walter Miller              no   male 27.0000            1st
## Clark, Mrs. Walter Miller (Virg      yes female 26.0000            1st
## Cleaver, Miss. Alice                 yes female 22.0000            1st
## Clifford, Mr. George Quincy           no   male      NA            1st
## Colley, Mr. Edward Pomeroy            no   male 47.0000            1st
## Compton, Miss. Sara Rebecca          yes female 39.0000            1st
## Compton, Mr. Alexander Taylor J       no   male 37.0000            1st
## Compton, Mrs. Alexander Taylor       yes female 64.0000            1st
## Cornell, Mrs. Robert Clifford (      yes female 55.0000            1st
## Crafton, Mr. John Bertram             no   male      NA            1st
## Crosby, Capt. Edward Gifford          no   male 70.0000            1st
## Crosby, Miss. Harriet R              yes female 36.0000            1st
## Crosby, Mrs. Edward Gifford (Ca      yes female 64.0000            1st
## Cumings, Mr. John Bradley             no   male 39.0000            1st
## Cumings, Mrs. John Bradley (Flo      yes female 38.0000            1st
## Daly, Mr. Peter Denis                yes   male 51.0000            1st
## Daniel, Mr. Robert Williams          yes   male 27.0000            1st
## Daniels, Miss. Sarah                 yes female 33.0000            1st
## Davidson, Mr. Thornton                no   male 31.0000            1st
## Davidson, Mrs. Thornton (Orian       yes female 27.0000            1st
## Dick, Mr. Albert Adrian              yes   male 31.0000            1st
## Dick, Mrs. Albert Adrian (Vera       yes female 17.0000            1st
## Dodge, Dr. Washington                yes   male 53.0000            1st
## Dodge, Master. Washington            yes   male  4.0000            1st
## Dodge, Mrs. Washington (Ruth Vi      yes female 54.0000            1st
## Douglas, Mr. Walter Donald            no   male 50.0000            1st
## Douglas, Mrs. Frederick Charles      yes female 27.0000            1st
## Douglas, Mrs. Walter Donald (Ma      yes female 48.0000            1st
## Duff Gordon, Lady. (Lucille Chr      yes female 48.0000            1st
## Duff Gordon, Sir. Cosmo Edmund       yes   male 49.0000            1st
## Dulles, Mr. William Crothers          no   male 39.0000            1st
## Earnshaw, Mrs. Boulton (Olive P      yes female 23.0000            1st
## Endres, Miss. Caroline Louise        yes female 38.0000            1st
## Eustis, Miss. Elizabeth Mussey       yes female 54.0000            1st
## Evans, Miss. Edith Corse              no female 36.0000            1st
## Farthing, Mr. John                    no   male      NA            1st
## Flegenheim, Mrs. Alfred (Antoin      yes female      NA            1st
## Fleming, Miss. Margaret              yes female      NA            1st
## Flynn, Mr. John Irwin (Irving        yes   male 36.0000            1st
## Foreman, Mr. Benjamin Laventall       no   male 30.0000            1st
## Fortune, Miss. Alice Elizabeth       yes female 24.0000            1st
## Fortune, Miss. Ethel Flora           yes female 28.0000            1st
## Fortune, Miss. Mabel Helen           yes female 23.0000            1st
## Fortune, Mr. Charles Alexander        no   male 19.0000            1st
## Fortune, Mr. Mark                     no   male 64.0000            1st
## Fortune, Mrs. Mark (Mary McDoug      yes female 60.0000            1st
## Francatelli, Miss. Laura Mabel       yes female 30.0000            1st
## Franklin, Mr. Thomas Parham           no   male      NA            1st
## Frauenthal, Dr. Henry William        yes   male 50.0000            1st
## Frauenthal, Mr. Isaac Gerald         yes   male 43.0000            1st
## Frauenthal, Mrs. Henry William       yes female      NA            1st
## Frolicher, Miss. Hedwig Margari      yes female 22.0000            1st
## Frolicher-Stehli, Mr. Maxmillia      yes   male 60.0000            1st
## Frolicher-Stehli, Mrs. Maxmilli      yes female 48.0000            1st
## Fry, Mr. Richard                      no   male      NA            1st
## Futrelle, Mr. Jacques Heath           no   male 37.0000            1st
## Futrelle, Mrs. Jacques Heath (L      yes female 35.0000            1st
## Gee, Mr. Arthur H                     no   male 47.0000            1st
## Geiger, Miss. Amalie                 yes female 35.0000            1st
## Gibson, Miss. Dorothy Winifred       yes female 22.0000            1st
## Gibson, Mrs. Leonard (Pauline C      yes female 45.0000            1st
## Giglio, Mr. Victor                    no   male 24.0000            1st
## Goldenberg, Mr. Samuel L             yes   male 49.0000            1st
## Goldenberg, Mrs. Samuel L (Edwi      yes female      NA            1st
## Goldschmidt, Mr. George B             no   male 71.0000            1st
## Gracie, Col. Archibald IV            yes   male 53.0000            1st
## Graham, Miss. Margaret Edith         yes female 19.0000            1st
## Graham, Mr. George Edward             no   male 38.0000            1st
## Graham, Mrs. William Thompson (      yes female 58.0000            1st
## Greenfield, Mr. William Bertram      yes   male 23.0000            1st
## Greenfield, Mrs. Leo David (Bla      yes female 45.0000            1st
## Guggenheim, Mr. Benjamin              no   male 46.0000            1st
## Harder, Mr. George Achilles          yes   male 25.0000            1st
## Harder, Mrs. George Achilles (D      yes female 25.0000            1st
## Harper, Mr. Henry Sleeper            yes   male 48.0000            1st
## Harper, Mrs. Henry Sleeper (Myn      yes female 49.0000            1st
## Harrington, Mr. Charles H             no   male      NA            1st
## Harris, Mr. Henry Birkhardt           no   male 45.0000            1st
## Harris, Mrs. Henry Birkhardt (I      yes female 35.0000            1st
## Harrison, Mr. William                 no   male 40.0000            1st
## Hassab, Mr. Hammad                   yes   male 27.0000            1st
## Hawksford, Mr. Walter James          yes   male      NA            1st
## Hays, Miss. Margaret Bechstein       yes female 24.0000            1st
## Hays, Mr. Charles Melville            no   male 55.0000            1st
## Hays, Mrs. Charles Melville (Cl      yes female 52.0000            1st
## Head, Mr. Christopher                 no   male 42.0000            1st
## Hilliard, Mr. Herbert Henry           no   male      NA            1st
## Hipkins, Mr. William Edward           no   male 55.0000            1st
## Hippach, Miss. Jean Gertrude         yes female 16.0000            1st
## Hippach, Mrs. Louis Albert (Ida      yes female 44.0000            1st
## Hogeboom, Mrs. John C (Anna And      yes female 51.0000            1st
## Holverson, Mr. Alexander Oskar        no   male 42.0000            1st
## Holverson, Mrs. Alexander Oskar      yes female 35.0000            1st
## Homer, Mr. Harry (Mr E Haven)        yes   male 35.0000            1st
## Hoyt, Mr. Frederick Maxfield         yes   male 38.0000            1st
## Hoyt, Mr. William Fisher              no   male      NA            1st
## Hoyt, Mrs. Frederick Maxfield (      yes female 35.0000            1st
## Icard, Miss. Amelie                  yes female 38.0000            1st
## Isham, Miss. Ann Elizabeth            no female 50.0000            1st
## Ismay, Mr. Joseph Bruce              yes   male 49.0000            1st
## Jones, Mr. Charles Cresson            no   male 46.0000            1st
## Julian, Mr. Henry Forbes              no   male 50.0000            1st
## Keeping, Mr. Edwin                    no   male 32.5000            1st
## Kent, Mr. Edward Austin               no   male 58.0000            1st
## Kenyon, Mr. Frederick R               no   male 41.0000            1st
## Kenyon, Mrs. Frederick R (Mario      yes female      NA            1st
## Kimball, Mr. Edwin Nelson Jr         yes   male 42.0000            1st
## Kimball, Mrs. Edwin Nelson Jr (      yes female 45.0000            1st
## Klaber, Mr. Herman                    no   male      NA            1st
## Kreuchen, Miss. Emilie               yes female 39.0000            1st
## Leader, Dr. Alice (Farnham)          yes female 49.0000            1st
## LeRoy, Miss. Bertha                  yes female 30.0000            1st
## Lesurer, Mr. Gustave J               yes   male 35.0000            1st
## Lewy, Mr. Ervin G                     no   male      NA            1st
## Lindeberg-Lind, Mr. Erik Gustaf       no   male 42.0000            1st
## Lindstrom, Mrs. Carl Johan (Sig      yes female 55.0000            1st
## Lines, Miss. Mary Conover            yes female 16.0000            1st
## Lines, Mrs. Ernest H (Elizabeth      yes female 51.0000            1st
## Long, Mr. Milton Clyde                no   male 29.0000            1st
## Longley, Miss. Gretchen Fiske        yes female 21.0000            1st
## Loring, Mr. Joseph Holland            no   male 30.0000            1st
## Lurette, Miss. Elise                 yes female 58.0000            1st
## Madill, Miss. Georgette Alexand      yes female 15.0000            1st
## Maguire, Mr. John Edward              no   male 30.0000            1st
## Maioni, Miss. Roberta                yes female 16.0000            1st
## Marechal, Mr. Pierre                 yes   male      NA            1st
## Marvin, Mr. Daniel Warner             no   male 19.0000            1st
## Marvin, Mrs. Daniel Warner (Mar      yes female 18.0000            1st
## Mayne, Mlle. Berthe Antonine (       yes female 24.0000            1st
## McCaffry, Mr. Thomas Francis          no   male 46.0000            1st
## McCarthy, Mr. Timothy J               no   male 54.0000            1st
## McGough, Mr. James Robert            yes   male 36.0000            1st
## Meyer, Mr. Edgar Joseph               no   male 28.0000            1st
## Meyer, Mrs. Edgar Joseph (Leila      yes female      NA            1st
## Millet, Mr. Francis Davis             no   male 65.0000            1st
## Minahan, Dr. William Edward           no   male 44.0000            1st
## Minahan, Miss. Daisy E               yes female 33.0000            1st
## Minahan, Mrs. William Edward (L      yes female 37.0000            1st
## Mock, Mr. Philipp Edmund             yes   male 30.0000            1st
## Molson, Mr. Harry Markland            no   male 55.0000            1st
## Moore, Mr. Clarence Bloomfield        no   male 47.0000            1st
## Natsch, Mr. Charles H                 no   male 37.0000            1st
## Newell, Miss. Madeleine              yes female 31.0000            1st
## Newell, Miss. Marjorie               yes female 23.0000            1st
## Newell, Mr. Arthur Webster            no   male 58.0000            1st
## Newsom, Miss. Helen Monypeny         yes female 19.0000            1st
## Nicholson, Mr. Arthur Ernest          no   male 64.0000            1st
## Oliva y Ocana, Dona. Fermina         yes female 39.0000            1st
## Omont, Mr. Alfred Fernand            yes   male      NA            1st
## Ostby, Miss. Helene Ragnhild         yes female 22.0000            1st
## Ostby, Mr. Engelhart Cornelius        no   male 65.0000            1st
## Ovies y Rodriguez, Mr. Servando       no   male 28.5000            1st
## Parr, Mr. William Henry Marsh         no   male      NA            1st
## Partner, Mr. Austen                   no   male 45.5000            1st
## Payne, Mr. Vivian Ponsonby            no   male 23.0000            1st
## Pears, Mr. Thomas Clinton             no   male 29.0000            1st
## Pears, Mrs. Thomas (Edith Wearn      yes female 22.0000            1st
## Penasco y Castellana, Mr. Victo       no   male 18.0000            1st
## Penasco y Castellana, Mrs. Vict      yes female 17.0000            1st
## Perreault, Miss. Anne                yes female 30.0000            1st
## Peuchen, Major. Arthur Godfrey       yes   male 52.0000            1st
## Porter, Mr. Walter Chamberlain        no   male 47.0000            1st
## Potter, Mrs. Thomas Jr (Lily Al      yes female 56.0000            1st
## Reuchlin, Jonkheer. John George       no   male 38.0000            1st
## Rheims, Mr. George Alexander Lu      yes   male      NA            1st
## Ringhini, Mr. Sante                   no   male 22.0000            1st
## Robbins, Mr. Victor                   no   male      NA            1st
## Robert, Mrs. Edward Scott (Elis      yes female 43.0000            1st
## Roebling, Mr. Washington August       no   male 31.0000            1st
## Romaine, Mr. Charles Hallace (       yes   male 45.0000            1st
## Rood, Mr. Hugh Roscoe                 no   male      NA            1st
## Rosenbaum, Miss. Edith Louise        yes female 33.0000            1st
## Rosenshine, Mr. George (Mr Geo        no   male 46.0000            1st
## Ross, Mr. John Hugo                   no   male 36.0000            1st
## Rothes, the Countess. of (Lucy       yes female 33.0000            1st
## Rothschild, Mr. Martin                no   male 55.0000            1st
## Rothschild, Mrs. Martin (Elizab      yes female 54.0000            1st
## Rowe, Mr. Alfred G                    no   male 33.0000            1st
## Ryerson, Master. John Borie          yes   male 13.0000            1st
## Ryerson, Miss. Emily Borie           yes female 18.0000            1st
## Ryerson, Miss. Susan Parker Su       yes female 21.0000            1st
## Ryerson, Mr. Arthur Larned            no   male 61.0000            1st
## Ryerson, Mrs. Arthur Larned (Em      yes female 48.0000            1st
## Saalfeld, Mr. Adolphe                yes   male      NA            1st
## Sagesser, Mlle. Emma                 yes female 24.0000            1st
## Salomon, Mr. Abraham L               yes   male      NA            1st
## Schabert, Mrs. Paul (Emma Mock)      yes female 35.0000            1st
## Serepeca, Miss. Augusta              yes female 30.0000            1st
## Seward, Mr. Frederic Kimber          yes   male 34.0000            1st
## Shutes, Miss. Elizabeth W            yes female 40.0000            1st
## Silverthorne, Mr. Spencer Victo      yes   male 35.0000            1st
## Silvey, Mr. William Baird             no   male 50.0000            1st
## Silvey, Mrs. William Baird (Ali      yes female 39.0000            1st
## Simonius-Blumer, Col. Oberst Al      yes   male 56.0000            1st
## Sloper, Mr. William Thompson         yes   male 28.0000            1st
## Smart, Mr. John Montgomery            no   male 56.0000            1st
## Smith, Mr. James Clinch               no   male 56.0000            1st
## Smith, Mr. Lucien Philip              no   male 24.0000            1st
## Smith, Mr. Richard William            no   male      NA            1st
## Smith, Mrs. Lucien Philip (Mary      yes female 18.0000            1st
## Snyder, Mr. John Pillsbury           yes   male 24.0000            1st
## Snyder, Mrs. John Pillsbury (Ne      yes female 23.0000            1st
## Spedden, Master. Robert Douglas      yes   male  6.0000            1st
## Spedden, Mr. Frederic Oakley         yes   male 45.0000            1st
## Spedden, Mrs. Frederic Oakley (      yes female 40.0000            1st
## Spencer, Mr. William Augustus         no   male 57.0000            1st
## Spencer, Mrs. William Augustus       yes female      NA            1st
## Stahelin-Maeglin, Dr. Max            yes   male 32.0000            1st
## Stead, Mr. William Thomas             no   male 62.0000            1st
## Stengel, Mr. Charles Emil Henry      yes   male 54.0000            1st
## Stengel, Mrs. Charles Emil Henr      yes female 43.0000            1st
## Stephenson, Mrs. Walter Bertram      yes female 52.0000            1st
## Stewart, Mr. Albert A                 no   male      NA            1st
## Stone, Mrs. George Nelson (Mart      yes female 62.0000            1st
## Straus, Mr. Isidor                    no   male 67.0000            1st
## Straus, Mrs. Isidor (Rosalie Id       no female 63.0000            1st
## Sutton, Mr. Frederick                 no   male 61.0000            1st
## Swift, Mrs. Frederick Joel (Mar      yes female 48.0000            1st
## Taussig, Miss. Ruth                  yes female 18.0000            1st
## Taussig, Mr. Emil                     no   male 52.0000            1st
## Taussig, Mrs. Emil (Tillie Mand      yes female 39.0000            1st
## Taylor, Mr. Elmer Zebley             yes   male 48.0000            1st
## Taylor, Mrs. Elmer Zebley (Juli      yes female      NA            1st
## Thayer, Mr. John Borland              no   male 49.0000            1st
## Thayer, Mr. John Borland Jr          yes   male 17.0000            1st
## Thayer, Mrs. John Borland (Mari      yes female 39.0000            1st
## Thorne, Mrs. Gertrude Maybelle       yes female      NA            1st
## Tucker, Mr. Gilbert Milligan Jr      yes   male 31.0000            1st
## Uruchurtu, Don. Manuel E              no   male 40.0000            1st
## Van der hoef, Mr. Wyckoff             no   male 61.0000            1st
## Walker, Mr. William Anderson          no   male 47.0000            1st
## Ward, Miss. Anna                     yes female 35.0000            1st
## Warren, Mr. Frank Manley              no   male 64.0000            1st
## Warren, Mrs. Frank Manley (Anna      yes female 60.0000            1st
## Weir, Col. John                       no   male 60.0000            1st
## White, Mr. Percival Wayland           no   male 54.0000            1st
## White, Mr. Richard Frasar             no   male 21.0000            1st
## White, Mrs. John Stuart (Ella H      yes female 55.0000            1st
## Wick, Miss. Mary Natalie             yes female 31.0000            1st
## Wick, Mr. George Dennick              no   male 57.0000            1st
## Wick, Mrs. George Dennick (Mary      yes female 45.0000            1st
## Widener, Mr. George Dunton            no   male 50.0000            1st
## Widener, Mr. Harry Elkins             no   male 27.0000            1st
## Widener, Mrs. George Dunton (El      yes female 50.0000            1st
## Willard, Miss. Constance             yes female 21.0000            1st
## Williams, Mr. Charles Duane           no   male 51.0000            1st
## Williams, Mr. Richard Norris II      yes   male 21.0000            1st
## Williams-Lambert, Mr. Fletcher        no   male      NA            1st
## Wilson, Miss. Helen Alice            yes female 31.0000            1st
## Woolner, Mr. Hugh                    yes   male      NA            1st
## Wright, Mr. George                    no   male 62.0000            1st
## Young, Miss. Marie Grice             yes female 36.0000            1st
## Abelson, Mr. Samuel                   no   male 30.0000            2nd
## Abelson, Mrs. Samuel (Hannah Wi      yes female 28.0000            2nd
## Aldworth, Mr. Charles Augustus        no   male 30.0000            2nd
## Andrew, Mr. Edgardo Samuel            no   male 18.0000            2nd
## Andrew, Mr. Frank Thomas              no   male 25.0000            2nd
## Angle, Mr. William A                  no   male 34.0000            2nd
## Angle, Mrs. William A (Florence      yes female 36.0000            2nd
## Ashby, Mr. John                       no   male 57.0000            2nd
## Bailey, Mr. Percy Andrew              no   male 18.0000            2nd
## Baimbrigge, Mr. Charles Robert        no   male 23.0000            2nd
## Ball, Mrs. (Ada E Hall)              yes female 36.0000            2nd
## Banfield, Mr. Frederick James         no   male 28.0000            2nd
## Bateman, Rev. Robert James            no   male 51.0000            2nd
## Beane, Mr. Edward                    yes   male 32.0000            2nd
## Beane, Mrs. Edward (Ethel Clark      yes female 19.0000            2nd
## Beauchamp, Mr. Henry James            no   male 28.0000            2nd
## Becker, Master. Richard F            yes   male  1.0000            2nd
## Becker, Miss. Marion Louise          yes female  4.0000            2nd
## Becker, Miss. Ruth Elizabeth         yes female 12.0000            2nd
## Becker, Mrs. Allen Oliver (Nell      yes female 36.0000            2nd
## Beesley, Mr. Lawrence                yes   male 34.0000            2nd
## Bentham, Miss. Lilian W              yes female 19.0000            2nd
## Berriman, Mr. William John            no   male 23.0000            2nd
## Botsford, Mr. William Hull            no   male 26.0000            2nd
## Bowenur, Mr. Solomon                  no   male 42.0000            2nd
## Bracken, Mr. James H                  no   male 27.0000            2nd
## Brown, Miss. Amelia Mildred          yes female 24.0000            2nd
## Brown, Miss. Edith Eileen            yes female 15.0000            2nd
## Brown, Mr. Thomas William Solom       no   male 60.0000            2nd
## Brown, Mrs. Thomas William Solo      yes female 40.0000            2nd
## Bryhl, Miss. Dagmar Jenny Ingeb      yes female 20.0000            2nd
## Bryhl, Mr. Kurt Arnold Gottfrid       no   male 25.0000            2nd
## Buss, Miss. Kate                     yes female 36.0000            2nd
## Butler, Mr. Reginald Fenton           no   male 25.0000            2nd
## Byles, Rev. Thomas Roussel Davi       no   male 42.0000            2nd
## Bystrom, Mrs. (Karolina)             yes female 42.0000            2nd
## Caldwell, Master. Alden Gates        yes   male  0.8333            2nd
## Caldwell, Mr. Albert Francis         yes   male 26.0000            2nd
## Caldwell, Mrs. Albert Francis (      yes female 22.0000            2nd
## Cameron, Miss. Clear Annie           yes female 35.0000            2nd
## Campbell, Mr. William                 no   male      NA            2nd
## Carbines, Mr. William                 no   male 19.0000            2nd
## Carter, Mrs. Ernest Courtenay (       no female 44.0000            2nd
## Carter, Rev. Ernest Courtenay         no   male 54.0000            2nd
## Chapman, Mr. Charles Henry            no   male 52.0000            2nd
## Chapman, Mr. John Henry               no   male 37.0000            2nd
## Chapman, Mrs. John Henry (Sara        no female 29.0000            2nd
## Christy, Miss. Julie Rachel          yes female 25.0000            2nd
## Christy, Mrs. (Alice Frances)        yes female 45.0000            2nd
## Clarke, Mr. Charles Valentine         no   male 29.0000            2nd
## Clarke, Mrs. Charles V (Ada Mar      yes female 28.0000            2nd
## Coleridge, Mr. Reginald Charles       no   male 29.0000            2nd
## Collander, Mr. Erik Gustaf            no   male 28.0000            2nd
## Collett, Mr. Sidney C Stuart         yes   male 24.0000            2nd
## Collyer, Miss. Marjorie Lottie       yes female  8.0000            2nd
## Collyer, Mr. Harvey                   no   male 31.0000            2nd
## Collyer, Mrs. Harvey (Charlotte      yes female 31.0000            2nd
## Cook, Mrs. (Selena Rogers)           yes female 22.0000            2nd
## Corbett, Mrs. Walter H (Irene C       no female 30.0000            2nd
## Corey, Mrs. Percy C (Mary Phyll       no female      NA            2nd
## Cotterill, Mr. Henry Harry            no   male 21.0000            2nd
## Cunningham, Mr. Alfred Fleming        no   male      NA            2nd
## Davies, Master. John Morgan Jr       yes   male  8.0000            2nd
## Davies, Mr. Charles Henry             no   male 18.0000            2nd
## Davies, Mrs. John Morgan (Eliza      yes female 48.0000            2nd
## Davis, Miss. Mary                    yes female 28.0000            2nd
## de Brito, Mr. Jose Joaquim            no   male 32.0000            2nd
## Deacon, Mr. Percy William             no   male 17.0000            2nd
## del Carlo, Mr. Sebastiano             no   male 29.0000            2nd
## del Carlo, Mrs. Sebastiano (Arg      yes female 24.0000            2nd
## Denbury, Mr. Herbert                  no   male 25.0000            2nd
## Dibden, Mr. William                   no   male 18.0000            2nd
## Doling, Miss. Elsie                  yes female 18.0000            2nd
## Doling, Mrs. John T (Ada Julia       yes female 34.0000            2nd
## Downton, Mr. William James            no   male 54.0000            2nd
## Drew, Master. Marshall Brines        yes   male  8.0000            2nd
## Drew, Mr. James Vivian                no   male 42.0000            2nd
## Drew, Mrs. James Vivian (Lulu T      yes female 34.0000            2nd
## Duran y More, Miss. Asuncion         yes female 27.0000            2nd
## Duran y More, Miss. Florentina       yes female 30.0000            2nd
## Eitemiller, Mr. George Floyd          no   male 23.0000            2nd
## Enander, Mr. Ingvar                   no   male 21.0000            2nd
## Fahlstrom, Mr. Arne Jonas             no   male 18.0000            2nd
## Faunthorpe, Mr. Harry                 no   male 40.0000            2nd
## Faunthorpe, Mrs. Lizzie (Elizab      yes female 29.0000            2nd
## Fillbrook, Mr. Joseph Charles         no   male 18.0000            2nd
## Fox, Mr. Stanley Hubert               no   male 36.0000            2nd
## Frost, Mr. Anthony Wood Archie        no   male      NA            2nd
## Funk, Miss. Annie Clemmer             no female 38.0000            2nd
## Fynney, Mr. Joseph J                  no   male 35.0000            2nd
## Gale, Mr. Harry                       no   male 38.0000            2nd
## Gale, Mr. Shadrach                    no   male 34.0000            2nd
## Garside, Miss. Ethel                 yes female 34.0000            2nd
## Gaskell, Mr. Alfred                   no   male 16.0000            2nd
## Gavey, Mr. Lawrence                   no   male 26.0000            2nd
## Gilbert, Mr. William                  no   male 47.0000            2nd
## Giles, Mr. Edgar                      no   male 21.0000            2nd
## Giles, Mr. Frederick Edward           no   male 21.0000            2nd
## Giles, Mr. Ralph                      no   male 24.0000            2nd
## Gill, Mr. John William                no   male 24.0000            2nd
## Gillespie, Mr. William Henry          no   male 34.0000            2nd
## Givard, Mr. Hans Kristensen           no   male 30.0000            2nd
## Greenberg, Mr. Samuel                 no   male 52.0000            2nd
## Hale, Mr. Reginald                    no   male 30.0000            2nd
## Hamalainen, Master. Viljo            yes   male  0.6667            2nd
## Hamalainen, Mrs. William (Anna)      yes female 24.0000            2nd
## Harbeck, Mr. William H                no   male 44.0000            2nd
## Harper, Miss. Annie Jessie Nin       yes female  6.0000            2nd
## Harper, Rev. John                     no   male 28.0000            2nd
## Harris, Mr. George                   yes   male 62.0000            2nd
## Harris, Mr. Walter                    no   male 30.0000            2nd
## Hart, Miss. Eva Miriam               yes female  7.0000            2nd
## Hart, Mr. Benjamin                    no   male 43.0000            2nd
## Hart, Mrs. Benjamin (Esther Ada      yes female 45.0000            2nd
## Herman, Miss. Alice                  yes female 24.0000            2nd
## Herman, Miss. Kate                   yes female 24.0000            2nd
## Herman, Mr. Samuel                    no   male 49.0000            2nd
## Herman, Mrs. Samuel (Jane Laver      yes female 48.0000            2nd
## Hewlett, Mrs. (Mary D Kingcome)      yes female 55.0000            2nd
## Hickman, Mr. Leonard Mark             no   male 24.0000            2nd
## Hickman, Mr. Lewis                    no   male 32.0000            2nd
## Hickman, Mr. Stanley George           no   male 21.0000            2nd
## Hiltunen, Miss. Marta                 no female 18.0000            2nd
## Hocking, Miss. Ellen Nellie          yes female 20.0000            2nd
## Hocking, Mr. Richard George           no   male 23.0000            2nd
## Hocking, Mr. Samuel James Metca       no   male 36.0000            2nd
## Hocking, Mrs. Elizabeth (Eliza       yes female 54.0000            2nd
## Hodges, Mr. Henry Price               no   male 50.0000            2nd
## Hold, Mr. Stephen                     no   male 44.0000            2nd
## Hold, Mrs. Stephen (Annie Marga      yes female 29.0000            2nd
## Hood, Mr. Ambrose Jr                  no   male 21.0000            2nd
## Hosono, Mr. Masabumi                 yes   male 42.0000            2nd
## Howard, Mr. Benjamin                  no   male 63.0000            2nd
## Howard, Mrs. Benjamin (Ellen Tr       no female 60.0000            2nd
## Hunt, Mr. George Henry                no   male 33.0000            2nd
## Ilett, Miss. Bertha                  yes female 17.0000            2nd
## Jacobsohn, Mr. Sidney Samuel          no   male 42.0000            2nd
## Jacobsohn, Mrs. Sidney Samuel (      yes female 24.0000            2nd
## Jarvis, Mr. John Denzil               no   male 47.0000            2nd
## Jefferys, Mr. Clifford Thomas         no   male 24.0000            2nd
## Jefferys, Mr. Ernest Wilfred          no   male 22.0000            2nd
## Jenkin, Mr. Stephen Curnow            no   male 32.0000            2nd
## Jerwan, Mrs. Amin S (Marie Mart      yes female 23.0000            2nd
## Kantor, Mr. Sinai                     no   male 34.0000            2nd
## Kantor, Mrs. Sinai (Miriam Ster      yes female 24.0000            2nd
## Karnes, Mrs. J Frank (Claire Be       no female 22.0000            2nd
## Keane, Miss. Nora A                  yes female      NA            2nd
## Keane, Mr. Daniel                     no   male 35.0000            2nd
## Kelly, Mrs. Florence Fannie          yes female 45.0000            2nd
## Kirkland, Rev. Charles Leonard        no   male 57.0000            2nd
## Knight, Mr. Robert J                  no   male      NA            2nd
## Kvillner, Mr. Johan Henrik Joha       no   male 31.0000            2nd
## Lahtinen, Mrs. William (Anna Sy       no female 26.0000            2nd
## Lahtinen, Rev. William                no   male 30.0000            2nd
## Lamb, Mr. John Joseph                 no   male      NA            2nd
## Laroche, Miss. Louise                yes female  1.0000            2nd
## Laroche, Miss. Simonne Marie An      yes female  3.0000            2nd
## Laroche, Mr. Joseph Philippe Le       no   male 25.0000            2nd
## Laroche, Mrs. Joseph (Juliette       yes female 22.0000            2nd
## Lehmann, Miss. Bertha                yes female 17.0000            2nd
## Leitch, Miss. Jessie Wills           yes female      NA            2nd
## Lemore, Mrs. (Amelia Milley)         yes female 34.0000            2nd
## Levy, Mr. Rene Jacques                no   male 36.0000            2nd
## Leyson, Mr. Robert William Norm       no   male 24.0000            2nd
## Lingane, Mr. John                     no   male 61.0000            2nd
## Louch, Mr. Charles Alexander          no   male 50.0000            2nd
## Louch, Mrs. Charles Alexander (      yes female 42.0000            2nd
## Mack, Mrs. (Mary)                     no female 57.0000            2nd
## Malachard, Mr. Noel                   no   male      NA            2nd
## Mallet, Master. Andre                yes   male  1.0000            2nd
## Mallet, Mr. Albert                    no   male 31.0000            2nd
## Mallet, Mrs. Albert (Antoinette      yes female 24.0000            2nd
## Mangiavacchi, Mr. Serafino Emil       no   male      NA            2nd
## Matthews, Mr. William John            no   male 30.0000            2nd
## Maybery, Mr. Frank Hubert             no   male 40.0000            2nd
## McCrae, Mr. Arthur Gordon             no   male 32.0000            2nd
## McCrie, Mr. James Matthew             no   male 30.0000            2nd
## McKane, Mr. Peter David               no   male 46.0000            2nd
## Mellinger, Miss. Madeleine Viol      yes female 13.0000            2nd
## Mellinger, Mrs. (Elizabeth Anne      yes female 41.0000            2nd
## Mellors, Mr. William John            yes   male 19.0000            2nd
## Meyer, Mr. August                     no   male 39.0000            2nd
## Milling, Mr. Jacob Christian          no   male 48.0000            2nd
## Mitchell, Mr. Henry Michael           no   male 70.0000            2nd
## Montvila, Rev. Juozas                 no   male 27.0000            2nd
## Moraweck, Dr. Ernest                  no   male 54.0000            2nd
## Morley, Mr. Henry Samuel (Mr H        no   male 39.0000            2nd
## Mudd, Mr. Thomas Charles              no   male 16.0000            2nd
## Myles, Mr. Thomas Francis             no   male 62.0000            2nd
## Nasser, Mr. Nicholas                  no   male 32.5000            2nd
## Nasser, Mrs. Nicholas (Adele Ac      yes female 14.0000            2nd
## Navratil, Master. Edmond Roger       yes   male  2.0000            2nd
## Navratil, Master. Michel M           yes   male  3.0000            2nd
## Navratil, Mr. Michel (Louis M         no   male 36.5000            2nd
## Nesson, Mr. Israel                    no   male 26.0000            2nd
## Nicholls, Mr. Joseph Charles          no   male 19.0000            2nd
## Norman, Mr. Robert Douglas            no   male 28.0000            2nd
## Nourney, Mr. Alfred (Baron von       yes   male 20.0000            2nd
## Nye, Mrs. (Elizabeth Ramell)         yes female 29.0000            2nd
## Otter, Mr. Richard                    no   male 39.0000            2nd
## Oxenham, Mr. Percy Thomas            yes   male 22.0000            2nd
## Padro y Manent, Mr. Julian           yes   male      NA            2nd
## Pain, Dr. Alfred                      no   male 23.0000            2nd
## Pallas y Castello, Mr. Emilio        yes   male 29.0000            2nd
## Parker, Mr. Clifford Richard          no   male 28.0000            2nd
## Parkes, Mr. Francis Frank             no   male      NA            2nd
## Parrish, Mrs. (Lutie Davis)          yes female 50.0000            2nd
## Pengelly, Mr. Frederick William       no   male 19.0000            2nd
## Pernot, Mr. Rene                      no   male      NA            2nd
## Peruschitz, Rev. Joseph Maria         no   male 41.0000            2nd
## Phillips, Miss. Alice Frances L      yes female 21.0000            2nd
## Phillips, Miss. Kate Florence (      yes female 19.0000            2nd
## Phillips, Mr. Escott Robert           no   male 43.0000            2nd
## Pinsky, Mrs. (Rosa)                  yes female 32.0000            2nd
## Ponesell, Mr. Martin                  no   male 34.0000            2nd
## Portaluppi, Mr. Emilio Ilario G      yes   male 30.0000            2nd
## Pulbaum, Mr. Franz                    no   male 27.0000            2nd
## Quick, Miss. Phyllis May             yes female  2.0000            2nd
## Quick, Miss. Winifred Vera           yes female  8.0000            2nd
## Quick, Mrs. Frederick Charles (      yes female 33.0000            2nd
## Reeves, Mr. David                     no   male 36.0000            2nd
## Renouf, Mr. Peter Henry               no   male 34.0000            2nd
## Renouf, Mrs. Peter Henry (Lilli      yes female 30.0000            2nd
## Reynaldo, Ms. Encarnacion            yes female 28.0000            2nd
## Richard, Mr. Emile                    no   male 23.0000            2nd
## Richards, Master. George Sibley      yes   male  0.8333            2nd
## Richards, Master. William Rowe       yes   male  3.0000            2nd
## Richards, Mrs. Sidney (Emily Ho      yes female 24.0000            2nd
## Ridsdale, Miss. Lucy                 yes female 50.0000            2nd
## Rogers, Mr. Reginald Harry            no   male 19.0000            2nd
## Rugg, Miss. Emily                    yes female 21.0000            2nd
## Schmidt, Mr. August                   no   male 26.0000            2nd
## Sedgwick, Mr. Charles Frederick       no   male 25.0000            2nd
## Sharp, Mr. Percival James R           no   male 27.0000            2nd
## Shelley, Mrs. William (Imanita       yes female 25.0000            2nd
## Silven, Miss. Lyyli Karoliina        yes female 18.0000            2nd
## Sincock, Miss. Maude                 yes female 20.0000            2nd
## Sinkkonen, Miss. Anna                yes female 30.0000            2nd
## Sjostedt, Mr. Ernst Adolf             no   male 59.0000            2nd
## Slayter, Miss. Hilda Mary            yes female 30.0000            2nd
## Slemen, Mr. Richard James             no   male 35.0000            2nd
## Smith, Miss. Marion Elsie            yes female 40.0000            2nd
## Sobey, Mr. Samuel James Hayden        no   male 25.0000            2nd
## Stanton, Mr. Samuel Ward              no   male 41.0000            2nd
## Stokes, Mr. Philip Joseph             no   male 25.0000            2nd
## Swane, Mr. George                     no   male 18.5000            2nd
## Sweet, Mr. George Frederick           no   male 14.0000            2nd
## Toomey, Miss. Ellen                  yes female 50.0000            2nd
## Troupiansky, Mr. Moses Aaron          no   male 23.0000            2nd
## Trout, Mrs. William H (Jessie L      yes female 28.0000            2nd
## Troutt, Miss. Edwina Celia Win       yes female 27.0000            2nd
## Turpin, Mr. William John Robert       no   male 29.0000            2nd
## Turpin, Mrs. William John Rober       no female 27.0000            2nd
## Veal, Mr. James                       no   male 40.0000            2nd
## Walcroft, Miss. Nellie               yes female 31.0000            2nd
## Ware, Mr. John James                  no   male 30.0000            2nd
## Ware, Mr. William Jeffery             no   male 23.0000            2nd
## Ware, Mrs. John James (Florence      yes female 31.0000            2nd
## Watson, Mr. Ennis Hastings            no   male      NA            2nd
## Watt, Miss. Bertha J                 yes female 12.0000            2nd
## Watt, Mrs. James (Elizabeth Be       yes female 40.0000            2nd
## Webber, Miss. Susan                  yes female 32.5000            2nd
## Weisz, Mr. Leopold                    no   male 27.0000            2nd
## Weisz, Mrs. Leopold (Mathilde F      yes female 29.0000            2nd
## Wells, Master. Ralph Lester          yes   male  2.0000            2nd
## Wells, Miss. Joan                    yes female  4.0000            2nd
## Wells, Mrs. Arthur Henry (Addi       yes female 29.0000            2nd
## West, Miss. Barbara J                yes female  0.9167            2nd
## West, Miss. Constance Mirium         yes female  5.0000            2nd
## West, Mr. Edwy Arthur                 no   male 36.0000            2nd
## West, Mrs. Edwy Arthur (Ada Mar      yes female 33.0000            2nd
## Wheadon, Mr. Edward H                 no   male 66.0000            2nd
## Wheeler, Mr. Edwin Frederick          no   male      NA            2nd
## Wilhelms, Mr. Charles                yes   male 31.0000            2nd
## Williams, Mr. Charles Eugene         yes   male      NA            2nd
## Wright, Miss. Marion                 yes female 26.0000            2nd
## Yrois, Miss. Henriette (Mrs Ha        no female 24.0000            2nd
## Abbing, Mr. Anthony                   no   male 42.0000            3rd
## Abbott, Master. Eugene Joseph         no   male 13.0000            3rd
## Abbott, Mr. Rossmore Edward           no   male 16.0000            3rd
## Abbott, Mrs. Stanton (Rosa Hunt      yes female 35.0000            3rd
## Abelseth, Miss. Karen Marie          yes female 16.0000            3rd
## Abelseth, Mr. Olaus Jorgensen        yes   male 25.0000            3rd
## Abrahamsson, Mr. Abraham August      yes   male 20.0000            3rd
## Abrahim, Mrs. Joseph (Sophie Ha      yes female 18.0000            3rd
## Adahl, Mr. Mauritz Nils Martin        no   male 30.0000            3rd
## Adams, Mr. John                       no   male 26.0000            3rd
## Ahlin, Mrs. Johan (Johanna Pers       no female 40.0000            3rd
## Aks, Master. Philip Frank            yes   male  0.8333            3rd
## Aks, Mrs. Sam (Leah Rosen)           yes female 18.0000            3rd
## Albimona, Mr. Nassef Cassem          yes   male 26.0000            3rd
## Alexander, Mr. William                no   male 26.0000            3rd
## Alhomaki, Mr. Ilmari Rudolf           no   male 20.0000            3rd
## Ali, Mr. Ahmed                        no   male 24.0000            3rd
## Ali, Mr. William                      no   male 25.0000            3rd
## Allen, Mr. William Henry              no   male 35.0000            3rd
## Allum, Mr. Owen George                no   male 18.0000            3rd
## Andersen, Mr. Albert Karvin           no   male 32.0000            3rd
## Andersen-Jensen, Miss. Carla Ch      yes female 19.0000            3rd
## Andersson, Master. Sigvard Hara       no   male  4.0000            3rd
## Andersson, Miss. Ebba Iris Alfr       no female  6.0000            3rd
## Andersson, Miss. Ellis Anna Mar       no female  2.0000            3rd
## Andersson, Miss. Erna Alexandra      yes female 17.0000            3rd
## Andersson, Miss. Ida Augusta Ma       no female 38.0000            3rd
## Andersson, Miss. Ingeborg Const       no female  9.0000            3rd
## Andersson, Miss. Sigrid Elisabe       no female 11.0000            3rd
## Andersson, Mr. Anders Johan           no   male 39.0000            3rd
## Andersson, Mr. August Edvard (       yes   male 27.0000            3rd
## Andersson, Mr. Johan Samuel           no   male 26.0000            3rd
## Andersson, Mrs. Anders Johan (A       no female 39.0000            3rd
## Andreasson, Mr. Paul Edvin            no   male 20.0000            3rd
## Angheloff, Mr. Minko                  no   male 26.0000            3rd
## Arnold-Franchi, Mr. Josef             no   male 25.0000            3rd
## Arnold-Franchi, Mrs. Josef (Jos       no female 18.0000            3rd
## Aronsson, Mr. Ernst Axel Algot        no   male 24.0000            3rd
## Asim, Mr. Adola                       no   male 35.0000            3rd
## Asplund, Master. Carl Edgar           no   male  5.0000            3rd
## Asplund, Master. Clarence Gusta       no   male  9.0000            3rd
## Asplund, Master. Edvin Rojj Fel      yes   male  3.0000            3rd
## Asplund, Master. Filip Oscar          no   male 13.0000            3rd
## Asplund, Miss. Lillian Gertrud       yes female  5.0000            3rd
## Asplund, Mr. Carl Oscar Vilhelm       no   male 40.0000            3rd
## Asplund, Mr. Johan Charles           yes   male 23.0000            3rd
## Asplund, Mrs. Carl Oscar (Selma      yes female 38.0000            3rd
## Assaf Khalil, Mrs. Mariana (Mi       yes female 45.0000            3rd
## Assaf, Mr. Gerios                     no   male 21.0000            3rd
## Assam, Mr. Ali                        no   male 23.0000            3rd
## Attalah, Miss. Malake                 no female 17.0000            3rd
## Attalah, Mr. Sleiman                  no   male 30.0000            3rd
## Augustsson, Mr. Albert                no   male 23.0000            3rd
## Ayoub, Miss. Banoura                 yes female 13.0000            3rd
## Baccos, Mr. Raffull                   no   male 20.0000            3rd
## Backstrom, Mr. Karl Alfred            no   male 32.0000            3rd
## Backstrom, Mrs. Karl Alfred (Ma      yes female 33.0000            3rd
## Baclini, Miss. Eugenie               yes female  0.7500            3rd
## Baclini, Miss. Helene Barbara        yes female  0.7500            3rd
## Baclini, Miss. Marie Catherine       yes female  5.0000            3rd
## Baclini, Mrs. Solomon (Latifa Q      yes female 24.0000            3rd
## Badman, Miss. Emily Louisa           yes female 18.0000            3rd
## Badt, Mr. Mohamed                     no   male 40.0000            3rd
## Balkic, Mr. Cerin                     no   male 26.0000            3rd
## Barah, Mr. Hanna Assi                yes   male 20.0000            3rd
## Barbara, Miss. Saiide                 no female 18.0000            3rd
## Barbara, Mrs. (Catherine David)       no female 45.0000            3rd
## Barry, Miss. Julia                    no female 27.0000            3rd
## Barton, Mr. David John                no   male 22.0000            3rd
## Beavan, Mr. William Thomas            no   male 19.0000            3rd
## Bengtsson, Mr. John Viktor            no   male 26.0000            3rd
## Berglund, Mr. Karl Ivar Sven          no   male 22.0000            3rd
## Betros, Master. Seman                 no   male      NA            3rd
## Betros, Mr. Tannous                   no   male 20.0000            3rd
## Bing, Mr. Lee                        yes   male 32.0000            3rd
## Birkeland, Mr. Hans Martin Mons       no   male 21.0000            3rd
## Bjorklund, Mr. Ernst Herbert          no   male 18.0000            3rd
## Bostandyeff, Mr. Guentcho             no   male 26.0000            3rd
## Boulos, Master. Akar                  no   male  6.0000            3rd
## Boulos, Miss. Nourelain               no female  9.0000            3rd
## Boulos, Mr. Hanna                     no   male      NA            3rd
## Boulos, Mrs. Joseph (Sultana)         no female      NA            3rd
## Bourke, Miss. Mary                    no female      NA            3rd
## Bourke, Mr. John                      no   male 40.0000            3rd
## Bourke, Mrs. John (Catherine)         no female 32.0000            3rd
## Bowen, Mr. David John Dai             no   male 21.0000            3rd
## Bradley, Miss. Bridget Delia         yes female 22.0000            3rd
## Braf, Miss. Elin Ester Maria          no female 20.0000            3rd
## Braund, Mr. Lewis Richard             no   male 29.0000            3rd
## Braund, Mr. Owen Harris               no   male 22.0000            3rd
## Brobeck, Mr. Karl Rudolf              no   male 22.0000            3rd
## Brocklebank, Mr. William Alfred       no   male 35.0000            3rd
## Buckley, Miss. Katherine              no female 18.5000            3rd
## Buckley, Mr. Daniel                  yes   male 21.0000            3rd
## Burke, Mr. Jeremiah                   no   male 19.0000            3rd
## Burns, Miss. Mary Delia               no female 18.0000            3rd
## Cacic, Miss. Manda                    no female 21.0000            3rd
## Cacic, Miss. Marija                   no female 30.0000            3rd
## Cacic, Mr. Jego Grga                  no   male 18.0000            3rd
## Cacic, Mr. Luka                       no   male 38.0000            3rd
## Calic, Mr. Jovo                       no   male 17.0000            3rd
## Calic, Mr. Petar                      no   male 17.0000            3rd
## Canavan, Miss. Mary                   no female 21.0000            3rd
## Canavan, Mr. Patrick                  no   male 21.0000            3rd
## Cann, Mr. Ernest Charles              no   male 21.0000            3rd
## Caram, Mr. Joseph                     no   male      NA            3rd
## Caram, Mrs. Joseph (Maria Elias       no female      NA            3rd
## Carlsson, Mr. August Sigfrid          no   male 28.0000            3rd
## Carlsson, Mr. Carl Robert             no   male 24.0000            3rd
## Carr, Miss. Helen Ellen              yes female 16.0000            3rd
## Carr, Miss. Jeannie                   no female 37.0000            3rd
## Carver, Mr. Alfred John               no   male 28.0000            3rd
## Celotti, Mr. Francesco                no   male 24.0000            3rd
## Charters, Mr. David                   no   male 21.0000            3rd
## Chip, Mr. Chang                      yes   male 32.0000            3rd
## Christmann, Mr. Emil                  no   male 29.0000            3rd
## Chronopoulos, Mr. Apostolos           no   male 26.0000            3rd
## Chronopoulos, Mr. Demetrios           no   male 18.0000            3rd
## Coelho, Mr. Domingos Fernandeo        no   male 20.0000            3rd
## Cohen, Mr. Gurshon Gus               yes   male 18.0000            3rd
## Colbert, Mr. Patrick                  no   male 24.0000            3rd
## Coleff, Mr. Peju                      no   male 36.0000            3rd
## Coleff, Mr. Satio                     no   male 24.0000            3rd
## Conlon, Mr. Thomas Henry              no   male 31.0000            3rd
## Connaghton, Mr. Michael               no   male 31.0000            3rd
## Connolly, Miss. Kate (A)             yes female 22.0000            3rd
## Connolly, Miss. Kate (B)              no female 30.0000            3rd
## Connors, Mr. Patrick                  no   male 70.5000            3rd
## Cook, Mr. Jacob                       no   male 43.0000            3rd
## Cor, Mr. Bartol                       no   male 35.0000            3rd
## Cor, Mr. Ivan                         no   male 27.0000            3rd
## Cor, Mr. Liudevit                     no   male 19.0000            3rd
## Corn, Mr. Harry                       no   male 30.0000            3rd
## Coutts, Master. Eden Leslie Ne       yes   male  9.0000            3rd
## Coutts, Master. William Loch W       yes   male  3.0000            3rd
## Coutts, Mrs. William (Winnie M       yes female 36.0000            3rd
## Coxon, Mr. Daniel                     no   male 59.0000            3rd
## Crease, Mr. Ernest James              no   male 19.0000            3rd
## Cribb, Miss. Laura Alice             yes female 17.0000            3rd
## Cribb, Mr. John Hatfield              no   male 44.0000            3rd
## Culumovic, Mr. Jeso                   no   male 17.0000            3rd
## Daher, Mr. Shedid                     no   male 22.5000            3rd
## Dahl, Mr. Karl Edwart                yes   male 45.0000            3rd
## Dahlberg, Miss. Gerda Ulrika          no female 22.0000            3rd
## Dakic, Mr. Branko                     no   male 19.0000            3rd
## Daly, Miss. Margaret Marcella        yes female 30.0000            3rd
## Daly, Mr. Eugene Patrick             yes   male 29.0000            3rd
## Danbom, Master. Gilbert Sigvard       no   male  0.3333            3rd
## Danbom, Mr. Ernst Gilbert             no   male 34.0000            3rd
## Danbom, Mrs. Ernst Gilbert (Ann       no female 28.0000            3rd
## Danoff, Mr. Yoto                      no   male 27.0000            3rd
## Dantcheff, Mr. Ristiu                 no   male 25.0000            3rd
## Davies, Mr. Alfred J                  no   male 24.0000            3rd
## Davies, Mr. Evan                      no   male 22.0000            3rd
## Davies, Mr. John Samuel               no   male 21.0000            3rd
## Davies, Mr. Joseph                    no   male 17.0000            3rd
## Davison, Mr. Thomas Henry             no   male      NA            3rd
## Davison, Mrs. Thomas Henry (Mar      yes female      NA            3rd
## de Messemaeker, Mr. Guillaume J      yes   male 36.5000            3rd
## de Messemaeker, Mrs. Guillaume       yes female 36.0000            3rd
## de Mulder, Mr. Theodore              yes   male 30.0000            3rd
## de Pelsmaeker, Mr. Alfons             no   male 16.0000            3rd
## Dean, Master. Bertram Vere           yes   male  1.0000            3rd
## Dean, Miss. Elizabeth Gladys M       yes female  0.1667            3rd
## Dean, Mr. Bertram Frank               no   male 26.0000            3rd
## Dean, Mrs. Bertram (Eva Georget      yes female 33.0000            3rd
## Delalic, Mr. Redjo                    no   male 25.0000            3rd
## Demetri, Mr. Marinko                  no   male      NA            3rd
## Denkoff, Mr. Mitto                    no   male      NA            3rd
## Dennis, Mr. Samuel                    no   male 22.0000            3rd
## Dennis, Mr. William                   no   male 36.0000            3rd
## Devaney, Miss. Margaret Delia        yes female 19.0000            3rd
## Dika, Mr. Mirko                       no   male 17.0000            3rd
## Dimic, Mr. Jovan                      no   male 42.0000            3rd
## Dintcheff, Mr. Valtcho                no   male 43.0000            3rd
## Doharr, Mr. Tannous                   no   male      NA            3rd
## Dooley, Mr. Patrick                   no   male 32.0000            3rd
## Dorking, Mr. Edward Arthur           yes   male 19.0000            3rd
## Dowdell, Miss. Elizabeth             yes female 30.0000            3rd
## Doyle, Miss. Elizabeth                no female 24.0000            3rd
## Drapkin, Miss. Jennie                yes female 23.0000            3rd
## Drazenoic, Mr. Jozef                  no   male 33.0000            3rd
## Duane, Mr. Frank                      no   male 65.0000            3rd
## Duquemin, Mr. Joseph                 yes   male 24.0000            3rd
## Dyker, Mr. Adolf Fredrik              no   male 23.0000            3rd
## Dyker, Mrs. Adolf Fredrik (Anna      yes female 22.0000            3rd
## Edvardsson, Mr. Gustaf Hjalmar        no   male 18.0000            3rd
## Eklund, Mr. Hans Linus                no   male 16.0000            3rd
## Ekstrom, Mr. Johan                    no   male 45.0000            3rd
## Elias, Mr. Dibo                       no   male      NA            3rd
## Elias, Mr. Joseph                     no   male 39.0000            3rd
## Elias, Mr. Joseph Jr                  no   male 17.0000            3rd
## Elias, Mr. Tannous                    no   male 15.0000            3rd
## Elsbury, Mr. William James            no   male 47.0000            3rd
## Emanuel, Miss. Virginia Ethel        yes female  5.0000            3rd
## Emir, Mr. Farred Chehab               no   male      NA            3rd
## Everett, Mr. Thomas James             no   male 40.5000            3rd
## Farrell, Mr. James                    no   male 40.5000            3rd
## Finoli, Mr. Luigi                    yes   male      NA            3rd
## Fischer, Mr. Eberhard Thelander       no   male 18.0000            3rd
## Fleming, Miss. Honora                 no female      NA            3rd
## Flynn, Mr. James                      no   male      NA            3rd
## Flynn, Mr. John                       no   male      NA            3rd
## Foley, Mr. Joseph                     no   male 26.0000            3rd
## Foley, Mr. William                    no   male      NA            3rd
## Foo, Mr. Choong                      yes   male      NA            3rd
## Ford, Miss. Doolina Margaret D        no female 21.0000            3rd
## Ford, Miss. Robina Maggie Ruby        no female  9.0000            3rd
## Ford, Mr. Arthur                      no   male      NA            3rd
## Ford, Mr. Edward Watson               no   male 18.0000            3rd
## Ford, Mr. William Neal                no   male 16.0000            3rd
## Ford, Mrs. Edward (Margaret Ann       no female 48.0000            3rd
## Fox, Mr. Patrick                      no   male      NA            3rd
## Franklin, Mr. Charles (Charles        no   male      NA            3rd
## Gallagher, Mr. Martin                 no   male 25.0000            3rd
## Garfirth, Mr. John                    no   male      NA            3rd
## Gheorgheff, Mr. Stanio                no   male      NA            3rd
## Gilinski, Mr. Eliezer                 no   male 22.0000            3rd
## Gilnagh, Miss. Katherine Katie       yes female 16.0000            3rd
## Glynn, Miss. Mary Agatha             yes female      NA            3rd
## Goldsmith, Master. Frank John W      yes   male  9.0000            3rd
## Goldsmith, Mr. Frank John             no   male 33.0000            3rd
## Goldsmith, Mr. Nathan                 no   male 41.0000            3rd
## Goldsmith, Mrs. Frank John (Emi      yes female 31.0000            3rd
## Goncalves, Mr. Manuel Estanslas       no   male 38.0000            3rd
## Goodwin, Master. Harold Victor        no   male  9.0000            3rd
## Goodwin, Master. Sidney Leonard       no   male  1.0000            3rd
## Goodwin, Master. William Freder       no   male 11.0000            3rd
## Goodwin, Miss. Jessie Allis           no female 10.0000            3rd
## Goodwin, Miss. Lillian Amy            no female 16.0000            3rd
## Goodwin, Mr. Charles Edward           no   male 14.0000            3rd
## Goodwin, Mr. Charles Frederick        no   male 40.0000            3rd
## Goodwin, Mrs. Frederick (August       no female 43.0000            3rd
## Green, Mr. George Henry               no   male 51.0000            3rd
## Gronnestad, Mr. Daniel Danielse       no   male 32.0000            3rd
## Guest, Mr. Robert                     no   male      NA            3rd
## Gustafsson, Mr. Alfred Ossian         no   male 20.0000            3rd
## Gustafsson, Mr. Anders Vilhelm        no   male 37.0000            3rd
## Gustafsson, Mr. Johan Birger          no   male 28.0000            3rd
## Gustafsson, Mr. Karl Gideon           no   male 19.0000            3rd
## Haas, Miss. Aloisia                   no female 24.0000            3rd
## Hagardon, Miss. Kate                  no female 17.0000            3rd
## Hagland, Mr. Ingvald Olai Olsen       no   male      NA            3rd
## Hagland, Mr. Konrad Mathias Rei       no   male      NA            3rd
## Hakkarainen, Mr. Pekka Pietari        no   male 28.0000            3rd
## Hakkarainen, Mrs. Pekka Pietari      yes female 24.0000            3rd
## Hampe, Mr. Leon                       no   male 20.0000            3rd
## Hanna, Mr. Mansour                    no   male 23.5000            3rd
## Hansen, Mr. Claus Peter               no   male 41.0000            3rd
## Hansen, Mr. Henrik Juul               no   male 26.0000            3rd
## Hansen, Mr. Henry Damsgaard           no   male 21.0000            3rd
## Hansen, Mrs. Claus Peter (Jenni      yes female 45.0000            3rd
## Harknett, Miss. Alice Phoebe          no female      NA            3rd
## Harmer, Mr. Abraham (David Lish       no   male 25.0000            3rd
## Hart, Mr. Henry                       no   male      NA            3rd
## Hassan, Mr. Houssein G N              no   male 11.0000            3rd
## Healy, Miss. Hanora Nora             yes female      NA            3rd
## Hedman, Mr. Oskar Arvid              yes   male 27.0000            3rd
## Hee, Mr. Ling                        yes   male      NA            3rd
## Hegarty, Miss. Hanora Nora            no female 18.0000            3rd
## Heikkinen, Miss. Laina               yes female 26.0000            3rd
## Heininen, Miss. Wendla Maria          no female 23.0000            3rd
## Hellstrom, Miss. Hilda Maria         yes female 22.0000            3rd
## Hendekovic, Mr. Ignjac                no   male 28.0000            3rd
## Henriksson, Miss. Jenny Lovisa        no female 28.0000            3rd
## Henry, Miss. Delia                    no female      NA            3rd
## Hirvonen, Miss. Hildur E             yes female  2.0000            3rd
## Hirvonen, Mrs. Alexander (Helga      yes female 22.0000            3rd
## Holm, Mr. John Fredrik Alexande       no   male 43.0000            3rd
## Holthen, Mr. Johan Martin             no   male 28.0000            3rd
## Honkanen, Miss. Eliina               yes female 27.0000            3rd
## Horgan, Mr. John                      no   male      NA            3rd
## Howard, Miss. May Elizabeth          yes female      NA            3rd
## Humblen, Mr. Adolf Mathias Nico       no   male 42.0000            3rd
## Hyman, Mr. Abraham                   yes   male      NA            3rd
## Ibrahim Shawah, Mr. Yousseff          no   male 30.0000            3rd
## Ilieff, Mr. Ylio                      no   male      NA            3rd
## Ilmakangas, Miss. Ida Livija          no female 27.0000            3rd
## Ilmakangas, Miss. Pieta Sofia         no female 25.0000            3rd
## Ivanoff, Mr. Kanio                    no   male      NA            3rd
## Jalsevac, Mr. Ivan                   yes   male 29.0000            3rd
## Jansson, Mr. Carl Olof               yes   male 21.0000            3rd
## Jardin, Mr. Jose Neto                 no   male      NA            3rd
## Jensen, Mr. Hans Peder                no   male 20.0000            3rd
## Jensen, Mr. Niels Peder               no   male 48.0000            3rd
## Jensen, Mr. Svend Lauritz             no   male 17.0000            3rd
## Jermyn, Miss. Annie                  yes female      NA            3rd
## Johannesen-Bratthammer, Mr. Ber      yes   male      NA            3rd
## Johanson, Mr. Jakob Alfred            no   male 34.0000            3rd
## Johansson Palmquist, Mr. Oskar       yes   male 26.0000            3rd
## Johansson, Mr. Erik                   no   male 22.0000            3rd
## Johansson, Mr. Gustaf Joel            no   male 33.0000            3rd
## Johansson, Mr. Karl Johan             no   male 31.0000            3rd
## Johansson, Mr. Nils                   no   male 29.0000            3rd
## Johnson, Master. Harold Theodor      yes   male  4.0000            3rd
## Johnson, Miss. Eleanor Ileen         yes female  1.0000            3rd
## Johnson, Mr. Alfred                   no   male 49.0000            3rd
## Johnson, Mr. Malkolm Joackim          no   male 33.0000            3rd
## Johnson, Mr. William Cahoone Jr       no   male 19.0000            3rd
## Johnson, Mrs. Oscar W (Elisabet      yes female 27.0000            3rd
## Johnston, Master. William Arthu       no   male      NA            3rd
## Johnston, Miss. Catherine Helen       no female      NA            3rd
## Johnston, Mr. Andrew G                no   male      NA            3rd
## Johnston, Mrs. Andrew G (Elizab       no female      NA            3rd
## Jonkoff, Mr. Lalio                    no   male 23.0000            3rd
## Jonsson, Mr. Carl                    yes   male 32.0000            3rd
## Jonsson, Mr. Nils Hilding             no   male 27.0000            3rd
## Jussila, Miss. Katriina               no female 20.0000            3rd
## Jussila, Miss. Mari Aina              no female 21.0000            3rd
## Jussila, Mr. Eiriik                  yes   male 32.0000            3rd
## Kallio, Mr. Nikolai Erland            no   male 17.0000            3rd
## Kalvik, Mr. Johannes Halvorsen        no   male 21.0000            3rd
## Karaic, Mr. Milan                     no   male 30.0000            3rd
## Karlsson, Mr. Einar Gervasius        yes   male 21.0000            3rd
## Karlsson, Mr. Julius Konrad Eug       no   male 33.0000            3rd
## Karlsson, Mr. Nils August             no   male 22.0000            3rd
## Karun, Miss. Manca                   yes female  4.0000            3rd
## Karun, Mr. Franz                     yes   male 39.0000            3rd
## Kassem, Mr. Fared                     no   male      NA            3rd
## Katavelas, Mr. Vassilios (Cata        no   male 18.5000            3rd
## Keane, Mr. Andrew Andy                no   male      NA            3rd
## Keefe, Mr. Arthur                     no   male      NA            3rd
## Kelly, Miss. Anna Katherine An       yes female      NA            3rd
## Kelly, Miss. Mary                    yes female      NA            3rd
## Kelly, Mr. James (A)                  no   male 34.5000            3rd
## Kelly, Mr. James (B)                  no   male 44.0000            3rd
## Kennedy, Mr. John                    yes   male      NA            3rd
## Khalil, Mr. Betros                    no   male      NA            3rd
## Khalil, Mrs. Betros (Zahie Mar        no female      NA            3rd
## Kiernan, Mr. John                     no   male      NA            3rd
## Kiernan, Mr. Philip                   no   male      NA            3rd
## Kilgannon, Mr. Thomas J               no   male      NA            3rd
## Kink, Miss. Maria                     no female 22.0000            3rd
## Kink, Mr. Vincenz                     no   male 26.0000            3rd
## Kink-Heilmann, Miss. Luise Gret      yes female  4.0000            3rd
## Kink-Heilmann, Mr. Anton             yes   male 29.0000            3rd
## Kink-Heilmann, Mrs. Anton (Luis      yes female 26.0000            3rd
## Klasen, Miss. Gertrud Emilia          no female  1.0000            3rd
## Klasen, Mr. Klas Albin                no   male 18.0000            3rd
## Klasen, Mrs. (Hulda Kristina Eu       no female 36.0000            3rd
## Kraeff, Mr. Theodor                   no   male      NA            3rd
## Krekorian, Mr. Neshan                yes   male 25.0000            3rd
## Lahoud, Mr. Sarkis                    no   male      NA            3rd
## Laitinen, Miss. Kristina Sofia        no female 37.0000            3rd
## Laleff, Mr. Kristo                    no   male      NA            3rd
## Lam, Mr. Ali                         yes   male      NA            3rd
## Lam, Mr. Len                          no   male      NA            3rd
## Landergren, Miss. Aurora Adelia      yes female 22.0000            3rd
## Lane, Mr. Patrick                     no   male      NA            3rd
## Lang, Mr. Fang                       yes   male 26.0000            3rd
## Larsson, Mr. August Viktor            no   male 29.0000            3rd
## Larsson, Mr. Bengt Edvin              no   male 29.0000            3rd
## Larsson-Rondberg, Mr. Edvard A        no   male 22.0000            3rd
## Leeni, Mr. Fahim (Philip Zenni       yes   male 22.0000            3rd
## Lefebre, Master. Henry Forbes         no   male      NA            3rd
## Lefebre, Miss. Ida                    no female      NA            3rd
## Lefebre, Miss. Jeannie                no female      NA            3rd
## Lefebre, Miss. Mathilde               no female      NA            3rd
## Lefebre, Mrs. Frank (Frances)         no female      NA            3rd
## Leinonen, Mr. Antti Gustaf            no   male 32.0000            3rd
## Lemberopolous, Mr. Peter L            no   male 34.5000            3rd
## Lennon, Miss. Mary                    no female      NA            3rd
## Lennon, Mr. Denis                     no   male      NA            3rd
## Leonard, Mr. Lionel                   no   male 36.0000            3rd
## Lester, Mr. James                     no   male 39.0000            3rd
## Lievens, Mr. Rene Aime                no   male 24.0000            3rd
## Lindahl, Miss. Agda Thorilda Vi       no female 25.0000            3rd
## Lindblom, Miss. Augusta Charlot       no female 45.0000            3rd
## Lindell, Mr. Edvard Bengtsson         no   male 36.0000            3rd
## Lindell, Mrs. Edvard Bengtsson        no female 30.0000            3rd
## Lindqvist, Mr. Eino William          yes   male 20.0000            3rd
## Linehan, Mr. Michael                  no   male      NA            3rd
## Ling, Mr. Lee                         no   male 28.0000            3rd
## Lithman, Mr. Simon                    no   male      NA            3rd
## Lobb, Mr. William Arthur              no   male 30.0000            3rd
## Lobb, Mrs. William Arthur (Cord       no female 26.0000            3rd
## Lockyer, Mr. Edward                   no   male      NA            3rd
## Lovell, Mr. John Hall (Henry)         no   male 20.5000            3rd
## Lulic, Mr. Nikola                    yes   male 27.0000            3rd
## Lundahl, Mr. Johan Svensson           no   male 51.0000            3rd
## Lundin, Miss. Olga Elida             yes female 23.0000            3rd
## Lundstrom, Mr. Thure Edvin           yes   male 32.0000            3rd
## Lyntakoff, Mr. Stanko                 no   male      NA            3rd
## MacKay, Mr. George William            no   male      NA            3rd
## Madigan, Miss. Margaret Maggie       yes female      NA            3rd
## Madsen, Mr. Fridtjof Arne            yes   male 24.0000            3rd
## Maenpaa, Mr. Matti Alexanteri         no   male 22.0000            3rd
## Mahon, Miss. Bridget Delia            no female      NA            3rd
## Mahon, Mr. John                       no   male      NA            3rd
## Maisner, Mr. Simon                    no   male      NA            3rd
## Makinen, Mr. Kalle Edvard             no   male 29.0000            3rd
## Mamee, Mr. Hanna                     yes   male      NA            3rd
## Mangan, Miss. Mary                    no female 30.5000            3rd
## Mannion, Miss. Margareth             yes female      NA            3rd
## Mardirosian, Mr. Sarkis               no   male      NA            3rd
## Markoff, Mr. Marin                    no   male 35.0000            3rd
## Markun, Mr. Johann                    no   male 33.0000            3rd
## Masselmani, Mrs. Fatima              yes female      NA            3rd
## Matinoff, Mr. Nicola                  no   male      NA            3rd
## McCarthy, Miss. Catherine Kati       yes female      NA            3rd
## McCormack, Mr. Thomas Joseph         yes   male      NA            3rd
## McCoy, Miss. Agnes                   yes female      NA            3rd
## McCoy, Miss. Alicia                  yes female      NA            3rd
## McCoy, Mr. Bernard                   yes   male      NA            3rd
## McDermott, Miss. Brigdet Delia       yes female      NA            3rd
## McEvoy, Mr. Michael                   no   male      NA            3rd
## McGovern, Miss. Mary                 yes female      NA            3rd
## McGowan, Miss. Anna Annie            yes female 15.0000            3rd
## McGowan, Miss. Katherine              no female 35.0000            3rd
## McMahon, Mr. Martin                   no   male      NA            3rd
## McNamee, Mr. Neal                     no   male 24.0000            3rd
## McNamee, Mrs. Neal (Eileen O'Le       no female 19.0000            3rd
## McNeill, Miss. Bridget                no female      NA            3rd
## Meanwell, Miss. (Marion Ogden)        no female      NA            3rd
## Meek, Mrs. Thomas (Annie Louise       no female      NA            3rd
## Meo, Mr. Alfonzo                      no   male 55.5000            3rd
## Mernagh, Mr. Robert                   no   male      NA            3rd
## Midtsjo, Mr. Karl Albert             yes   male 21.0000            3rd
## Miles, Mr. Frank                      no   male      NA            3rd
## Mineff, Mr. Ivan                      no   male 24.0000            3rd
## Minkoff, Mr. Lazar                    no   male 21.0000            3rd
## Mionoff, Mr. Stoytcho                 no   male 28.0000            3rd
## Mitkoff, Mr. Mito                     no   male      NA            3rd
## Mockler, Miss. Helen Mary Elli       yes female      NA            3rd
## Moen, Mr. Sigurd Hansen               no   male 25.0000            3rd
## Moor, Master. Meier                  yes   male  6.0000            3rd
## Moor, Mrs. (Beila)                   yes female 27.0000            3rd
## Moore, Mr. Leonard Charles            no   male      NA            3rd
## Moran, Miss. Bertha                  yes female      NA            3rd
## Moran, Mr. Daniel J                   no   male      NA            3rd
## Moran, Mr. James                      no   male      NA            3rd
## Morley, Mr. William                   no   male 34.0000            3rd
## Morrow, Mr. Thomas Rowan              no   male      NA            3rd
## Moss, Mr. Albert Johan               yes   male      NA            3rd
## Moubarek, Master. Gerios             yes   male      NA            3rd
## Moubarek, Master. Halim Gonios       yes   male      NA            3rd
## Moubarek, Mrs. George (Omine A       yes female      NA            3rd
## Moussa, Mrs. (Mantoura Boulos)       yes female      NA            3rd
## Moutal, Mr. Rahamin Haim              no   male      NA            3rd
## Mullens, Miss. Katherine Katie       yes female      NA            3rd
## Mulvihill, Miss. Bertha E            yes female 24.0000            3rd
## Murdlin, Mr. Joseph                   no   male      NA            3rd
## Murphy, Miss. Katherine Kate         yes female      NA            3rd
## Murphy, Miss. Margaret Jane          yes female      NA            3rd
## Murphy, Miss. Nora                   yes female      NA            3rd
## Myhrman, Mr. Pehr Fabian Oliver       no   male 18.0000            3rd
## Naidenoff, Mr. Penko                  no   male 22.0000            3rd
## Najib, Miss. Adele Kiamie Jane       yes female 15.0000            3rd
## Nakid, Miss. Maria (Mary)            yes female  1.0000            3rd
## Nakid, Mr. Sahid                     yes   male 20.0000            3rd
## Nakid, Mrs. Said (Waika Mary         yes female 19.0000            3rd
## Nancarrow, Mr. William Henry          no   male 33.0000            3rd
## Nankoff, Mr. Minko                    no   male      NA            3rd
## Nasr, Mr. Mustafa                     no   male      NA            3rd
## Naughton, Miss. Hannah                no female      NA            3rd
## Nenkoff, Mr. Christo                  no   male      NA            3rd
## Nicola-Yarred, Master. Elias         yes   male 12.0000            3rd
## Nicola-Yarred, Miss. Jamila          yes female 14.0000            3rd
## Nieminen, Miss. Manta Josefina        no female 29.0000            3rd
## Niklasson, Mr. Samuel                 no   male 28.0000            3rd
## Nilsson, Miss. Berta Olivia          yes female 18.0000            3rd
## Nilsson, Miss. Helmina Josefina      yes female 26.0000            3rd
## Nilsson, Mr. August Ferdinand         no   male 21.0000            3rd
## Nirva, Mr. Iisakki Antino Aijo        no   male 41.0000            3rd
## Niskanen, Mr. Juha                   yes   male 39.0000            3rd
## Nosworthy, Mr. Richard Cater          no   male 21.0000            3rd
## Novel, Mr. Mansouer                   no   male 28.5000            3rd
## Nysten, Miss. Anna Sofia             yes female 22.0000            3rd
## Nysveen, Mr. Johan Hansen             no   male 61.0000            3rd
## O'Brien, Mr. Thomas                   no   male      NA            3rd
## O'Brien, Mr. Timothy                  no   male      NA            3rd
## O'Brien, Mrs. Thomas (Johanna        yes female      NA            3rd
## O'Connell, Mr. Patrick D              no   male      NA            3rd
## O'Connor, Mr. Maurice                 no   male      NA            3rd
## O'Connor, Mr. Patrick                 no   male      NA            3rd
## Odahl, Mr. Nils Martin                no   male 23.0000            3rd
## O'Donoghue, Ms. Bridget               no female      NA            3rd
## O'Driscoll, Miss. Bridget            yes female      NA            3rd
## O'Dwyer, Miss. Ellen Nellie          yes female      NA            3rd
## Ohman, Miss. Velin                   yes female 22.0000            3rd
## O'Keefe, Mr. Patrick                 yes   male      NA            3rd
## O'Leary, Miss. Hanora Norah          yes female      NA            3rd
## Olsen, Master. Artur Karl            yes   male  9.0000            3rd
## Olsen, Mr. Henry Margido              no   male 28.0000            3rd
## Olsen, Mr. Karl Siegwart Andrea       no   male 42.0000            3rd
## Olsen, Mr. Ole Martin                 no   male      NA            3rd
## Olsson, Miss. Elina                   no female 31.0000            3rd
## Olsson, Mr. Nils Johan Goransso       no   male 28.0000            3rd
## Olsson, Mr. Oscar Wilhelm            yes   male 32.0000            3rd
## Olsvigen, Mr. Thor Anderson           no   male 20.0000            3rd
## Oreskovic, Miss. Jelka                no female 23.0000            3rd
## Oreskovic, Miss. Marija               no female 20.0000            3rd
## Oreskovic, Mr. Luka                   no   male 20.0000            3rd
## Osen, Mr. Olaf Elon                   no   male 16.0000            3rd
## Osman, Mrs. Mara                     yes female 31.0000            3rd
## O'Sullivan, Miss. Bridget Mary        no female      NA            3rd
## Palsson, Master. Gosta Leonard        no   male  2.0000            3rd
## Palsson, Master. Paul Folke           no   male  6.0000            3rd
## Palsson, Miss. Stina Viola            no female  3.0000            3rd
## Palsson, Miss. Torborg Danira         no female  8.0000            3rd
## Palsson, Mrs. Nils (Alma Cornel       no female 29.0000            3rd
## Panula, Master. Eino Viljami          no   male  1.0000            3rd
## Panula, Master. Juha Niilo            no   male  7.0000            3rd
## Panula, Master. Urho Abraham          no   male  2.0000            3rd
## Panula, Mr. Ernesti Arvid             no   male 16.0000            3rd
## Panula, Mr. Jaako Arnold              no   male 14.0000            3rd
## Panula, Mrs. Juha (Maria Emilia       no female 41.0000            3rd
## Pasic, Mr. Jakob                      no   male 21.0000            3rd
## Patchett, Mr. George                  no   male 19.0000            3rd
## Paulner, Mr. Uscher                   no   male      NA            3rd
## Pavlovic, Mr. Stefo                   no   male 32.0000            3rd
## Peacock, Master. Alfred Edward        no   male  0.7500            3rd
## Peacock, Miss. Treasteall             no female  3.0000            3rd
## Peacock, Mrs. Benjamin (Edith N       no female 26.0000            3rd
## Pearce, Mr. Ernest                    no   male      NA            3rd
## Pedersen, Mr. Olaf                    no   male      NA            3rd
## Peduzzi, Mr. Joseph                   no   male      NA            3rd
## Pekoniemi, Mr. Edvard                 no   male 21.0000            3rd
## Peltomaki, Mr. Nikolai Johannes       no   male 25.0000            3rd
## Perkin, Mr. John Henry                no   male 22.0000            3rd
## Persson, Mr. Ernst Ulrik             yes   male 25.0000            3rd
## Peter, Master. Michael J             yes   male      NA            3rd
## Peter, Miss. Anna                    yes female      NA            3rd
## Peter, Mrs. Catherine (Catherin      yes female      NA            3rd
## Peters, Miss. Katie                   no female      NA            3rd
## Petersen, Mr. Marius                  no   male 24.0000            3rd
## Petranec, Miss. Matilda               no female 28.0000            3rd
## Petroff, Mr. Nedelio                  no   male 19.0000            3rd
## Petroff, Mr. Pastcho (Pentcho         no   male      NA            3rd
## Petterson, Mr. Johan Emil             no   male 25.0000            3rd
## Pettersson, Miss. Ellen Natalia       no female 18.0000            3rd
## Pickard, Mr. Berk (Berk Trembis      yes   male 32.0000            3rd
## Plotcharsky, Mr. Vasil                no   male      NA            3rd
## Pokrnic, Mr. Mate                     no   male 17.0000            3rd
## Pokrnic, Mr. Tome                     no   male 24.0000            3rd
## Radeff, Mr. Alexander                 no   male      NA            3rd
## Rasmussen, Mrs. (Lena Jacobsen        no female      NA            3rd
## Razi, Mr. Raihed                      no   male      NA            3rd
## Reed, Mr. James George                no   male      NA            3rd
## Rekic, Mr. Tido                       no   male 38.0000            3rd
## Reynolds, Mr. Harold J                no   male 21.0000            3rd
## Rice, Master. Albert                  no   male 10.0000            3rd
## Rice, Master. Arthur                  no   male  4.0000            3rd
## Rice, Master. Eric                    no   male  7.0000            3rd
## Rice, Master. Eugene                  no   male  2.0000            3rd
## Rice, Master. George Hugh             no   male  8.0000            3rd
## Rice, Mrs. William (Margaret No       no female 39.0000            3rd
## Riihivouri, Miss. Susanna Juhan       no female 22.0000            3rd
## Rintamaki, Mr. Matti                  no   male 35.0000            3rd
## Riordan, Miss. Johanna Hannah        yes female      NA            3rd
## Risien, Mr. Samuel Beard              no   male      NA            3rd
## Risien, Mrs. Samuel (Emma)            no female      NA            3rd
## Robins, Mr. Alexander A               no   male 50.0000            3rd
## Robins, Mrs. Alexander A (Grace       no female 47.0000            3rd
## Rogers, Mr. William John              no   male      NA            3rd
## Rommetvedt, Mr. Knud Paust            no   male      NA            3rd
## Rosblom, Miss. Salli Helena           no female  2.0000            3rd
## Rosblom, Mr. Viktor Richard           no   male 18.0000            3rd
## Rosblom, Mrs. Viktor (Helena Wi       no female 41.0000            3rd
## Roth, Miss. Sarah A                  yes female      NA            3rd
## Rouse, Mr. Richard Henry              no   male 50.0000            3rd
## Rush, Mr. Alfred George John          no   male 16.0000            3rd
## Ryan, Mr. Edward                     yes   male      NA            3rd
## Ryan, Mr. Patrick                     no   male      NA            3rd
## Saad, Mr. Amin                        no   male      NA            3rd
## Saad, Mr. Khalil                      no   male 25.0000            3rd
## Saade, Mr. Jean Nassr                 no   male      NA            3rd
## Sadlier, Mr. Matthew                  no   male      NA            3rd
## Sadowitz, Mr. Harry                   no   male      NA            3rd
## Saether, Mr. Simon Sivertsen          no   male 38.5000            3rd
## Sage, Master. Thomas Henry            no   male      NA            3rd
## Sage, Master. William Henry           no   male 14.5000            3rd
## Sage, Miss. Ada                       no female      NA            3rd
## Sage, Miss. Constance Gladys          no female      NA            3rd
## Sage, Miss. Dorothy Edith Doll        no female      NA            3rd
## Sage, Miss. Stella Anna               no female      NA            3rd
## Sage, Mr. Douglas Bullen              no   male      NA            3rd
## Sage, Mr. Frederick                   no   male      NA            3rd
## Sage, Mr. George John Jr              no   male      NA            3rd
## Sage, Mr. John George                 no   male      NA            3rd
## Sage, Mrs. John (Annie Bullen)        no female      NA            3rd
## Salander, Mr. Karl Johan              no   male 24.0000            3rd
## Salkjelsvik, Miss. Anna Kristin      yes female 21.0000            3rd
## Salonen, Mr. Johan Werner             no   male 39.0000            3rd
## Samaan, Mr. Elias                     no   male      NA            3rd
## Samaan, Mr. Hanna                     no   male      NA            3rd
## Samaan, Mr. Youssef                   no   male      NA            3rd
## Sandstrom, Miss. Beatrice Irene      yes female  1.0000            3rd
## Sandstrom, Mrs. Hjalmar (Agnes       yes female 24.0000            3rd
## Sandstrom, Miss. Marguerite Rut      yes female  4.0000            3rd
## Sap, Mr. Julius                      yes   male 25.0000            3rd
## Saundercock, Mr. William Henry        no   male 20.0000            3rd
## Sawyer, Mr. Frederick Charles         no   male 24.5000            3rd
## Scanlan, Mr. James                    no   male      NA            3rd
## Sdycoff, Mr. Todor                    no   male      NA            3rd
## Shaughnessy, Mr. Patrick              no   male      NA            3rd
## Sheerlinck, Mr. Jan Baptist          yes   male 29.0000            3rd
## Shellard, Mr. Frederick William       no   male      NA            3rd
## Shine, Miss. Ellen Natalia           yes female      NA            3rd
## Shorney, Mr. Charles Joseph           no   male      NA            3rd
## Simmons, Mr. John                     no   male      NA            3rd
## Sirayanian, Mr. Orsen                 no   male 22.0000            3rd
## Sirota, Mr. Maurice                   no   male      NA            3rd
## Sivic, Mr. Husein                     no   male 40.0000            3rd
## Sivola, Mr. Antti Wilhelm             no   male 21.0000            3rd
## Sjoblom, Miss. Anna Sofia            yes female 18.0000            3rd
## Skoog, Master. Harald                 no   male  4.0000            3rd
## Skoog, Master. Karl Thorsten          no   male 10.0000            3rd
## Skoog, Miss. Mabel                    no female  9.0000            3rd
## Skoog, Miss. Margit Elizabeth         no female  2.0000            3rd
## Skoog, Mr. Wilhelm                    no   male 40.0000            3rd
## Skoog, Mrs. William (Anna Bernh       no female 45.0000            3rd
## Slabenoff, Mr. Petco                  no   male      NA            3rd
## Slocovski, Mr. Selman Francis         no   male      NA            3rd
## Smiljanic, Mr. Mile                   no   male      NA            3rd
## Smith, Mr. Thomas                     no   male      NA            3rd
## Smyth, Miss. Julia                   yes female      NA            3rd
## Soholt, Mr. Peter Andreas Lauri       no   male 19.0000            3rd
## Somerton, Mr. Francis William         no   male 30.0000            3rd
## Spector, Mr. Woolf                    no   male      NA            3rd
## Spinner, Mr. Henry John               no   male 32.0000            3rd
## Staneff, Mr. Ivan                     no   male      NA            3rd
## Stankovic, Mr. Ivan                   no   male 33.0000            3rd
## Stanley, Miss. Amy Zillah Elsie      yes female 23.0000            3rd
## Stanley, Mr. Edward Roland            no   male 21.0000            3rd
## Storey, Mr. Thomas                    no   male 60.5000            3rd
## Stoytcheff, Mr. Ilia                  no   male 19.0000            3rd
## Strandberg, Miss. Ida Sofia           no female 22.0000            3rd
## Stranden, Mr. Juho                   yes   male 31.0000            3rd
## Strilic, Mr. Ivan                     no   male 27.0000            3rd
## Strom, Miss. Telma Matilda            no female  2.0000            3rd
## Strom, Mrs. Wilhelm (Elna Matil       no female 29.0000            3rd
## Sunderland, Mr. Victor Francis       yes   male 16.0000            3rd
## Sundman, Mr. Johan Julian            yes   male 44.0000            3rd
## Sutehall, Mr. Henry Jr                no   male 25.0000            3rd
## Svensson, Mr. Johan                   no   male 74.0000            3rd
## Svensson, Mr. Johan Cervin           yes   male 14.0000            3rd
## Svensson, Mr. Olof                    no   male 24.0000            3rd
## Tenglin, Mr. Gunnar Isidor           yes   male 25.0000            3rd
## Theobald, Mr. Thomas Leonard          no   male 34.0000            3rd
## Thomas, Master. Assad Alexander      yes   male  0.4167            3rd
## Thomas, Mr. Charles P                 no   male      NA            3rd
## Thomas, Mr. John                      no   male      NA            3rd
## Thomas, Mr. Tannous                   no   male      NA            3rd
## Thomas, Mrs. Alexander (Thamine      yes female 16.0000            3rd
## Thomson, Mr. Alexander Morrison       no   male      NA            3rd
## Thorneycroft, Mr. Percival            no   male      NA            3rd
## Thorneycroft, Mrs. Percival (Fl      yes female      NA            3rd
## Tikkanen, Mr. Juho                    no   male 32.0000            3rd
## Tobin, Mr. Roger                      no   male      NA            3rd
## Todoroff, Mr. Lalio                   no   male      NA            3rd
## Tomlin, Mr. Ernest Portage            no   male 30.5000            3rd
## Torber, Mr. Ernst William             no   male 44.0000            3rd
## Torfa, Mr. Assad                      no   male      NA            3rd
## Tornquist, Mr. William Henry         yes   male 25.0000            3rd
## Toufik, Mr. Nakli                     no   male      NA            3rd
## Touma, Master. Georges Youssef       yes   male  7.0000            3rd
## Touma, Miss. Maria Youssef           yes female  9.0000            3rd
## Touma, Mrs. Darwis (Hanne Youss      yes female 29.0000            3rd
## Turcin, Mr. Stjepan                   no   male 36.0000            3rd
## Turja, Miss. Anna Sofia              yes female 18.0000            3rd
## Turkula, Mrs. (Hedwig)               yes female 63.0000            3rd
## van Billiard, Master. James Wil       no   male      NA            3rd
## van Billiard, Master. Walter Jo       no   male 11.5000            3rd
## van Billiard, Mr. Austin Blyler       no   male 40.5000            3rd
## Van Impe, Miss. Catharina             no female 10.0000            3rd
## Van Impe, Mr. Jean Baptiste           no   male 36.0000            3rd
## Van Impe, Mrs. Jean Baptiste (R       no female 30.0000            3rd
## van Melkebeke, Mr. Philemon           no   male      NA            3rd
## Vande Velde, Mr. Johannes Josep       no   male 33.0000            3rd
## Vande Walle, Mr. Nestor Cyriel        no   male 28.0000            3rd
## Vanden Steen, Mr. Leo Peter           no   male 28.0000            3rd
## Vander Cruyssen, Mr. Victor           no   male 47.0000            3rd
## Vander Planke, Miss. Augusta Ma       no female 18.0000            3rd
## Vander Planke, Mr. Julius             no   male 31.0000            3rd
## Vander Planke, Mr. Leo Edmondus       no   male 16.0000            3rd
## Vander Planke, Mrs. Julius (Eme       no female 31.0000            3rd
## Vartanian, Mr. David                 yes   male 22.0000            3rd
## Vendel, Mr. Olof Edvin                no   male 20.0000            3rd
## Vestrom, Miss. Hulda Amanda Ado       no female 14.0000            3rd
## Vovk, Mr. Janko                       no   male 22.0000            3rd
## Waelens, Mr. Achille                  no   male 22.0000            3rd
## Ware, Mr. Frederick                   no   male      NA            3rd
## Warren, Mr. Charles William           no   male      NA            3rd
## Webber, Mr. James                     no   male      NA            3rd
## Wenzel, Mr. Linhart                   no   male 32.5000            3rd
## Whabee, Mrs. George Joseph (Sha      yes female 38.0000            3rd
## Widegren, Mr. Carl/Charles Pete       no   male 51.0000            3rd
## Wiklund, Mr. Jakob Alfred             no   male 18.0000            3rd
## Wiklund, Mr. Karl Johan               no   male 21.0000            3rd
## Wilkes, Mrs. James (Ellen Needs      yes female 47.0000            3rd
## Willer, Mr. Aaron (Abi Weller         no   male      NA            3rd
## Willey, Mr. Edward                    no   male      NA            3rd
## Williams, Mr. Howard Hugh Harr        no   male      NA            3rd
## Williams, Mr. Leslie                  no   male 28.5000            3rd
## Windelov, Mr. Einar                   no   male 21.0000            3rd
## Wirz, Mr. Albert                      no   male 27.0000            3rd
## Wiseman, Mr. Phillippe                no   male      NA            3rd
## Wittevrongel, Mr. Camille             no   male 36.0000            3rd
## Yasbeck, Mr. Antoni                   no   male 27.0000            3rd
## Yasbeck, Mrs. Antoni (Selini Al      yes female 15.0000            3rd
## Youseff, Mr. Gerious                  no   male 45.5000            3rd
## Yousif, Mr. Wazli                     no   male      NA            3rd
## Yousseff, Mr. Gerious                 no   male      NA            3rd
## Zabour, Miss. Hileni                  no female 14.5000            3rd
## Zabour, Miss. Thamine                 no female      NA            3rd
## Zakarian, Mr. Mapriededer             no   male 26.5000            3rd
## Zakarian, Mr. Ortin                   no   male 27.0000            3rd
## Zimmerman, Mr. Leo                    no   male 29.0000            3rd
table(TitanicSurvival$survived)
## 
##  no yes 
## 809 500
  1. diamonds
data(diamonds)
diamonds
## # A tibble: 53,940 × 10
##    carat cut       color clarity depth table price     x     y     z
##    <dbl> <ord>     <ord> <ord>   <dbl> <dbl> <int> <dbl> <dbl> <dbl>
##  1  0.23 Ideal     E     SI2      61.5    55   326  3.95  3.98  2.43
##  2  0.21 Premium   E     SI1      59.8    61   326  3.89  3.84  2.31
##  3  0.23 Good      E     VS1      56.9    65   327  4.05  4.07  2.31
##  4  0.29 Premium   I     VS2      62.4    58   334  4.2   4.23  2.63
##  5  0.31 Good      J     SI2      63.3    58   335  4.34  4.35  2.75
##  6  0.24 Very Good J     VVS2     62.8    57   336  3.94  3.96  2.48
##  7  0.24 Very Good I     VVS1     62.3    57   336  3.95  3.98  2.47
##  8  0.26 Very Good H     SI1      61.9    55   337  4.07  4.11  2.53
##  9  0.22 Fair      E     VS2      65.1    61   337  3.87  3.78  2.49
## 10  0.23 Very Good H     VS1      59.4    61   338  4     4.05  2.39
## # ℹ 53,930 more rows

3). mencari struktur

data(mtcars)
mtcars
##                      mpg cyl  disp  hp drat    wt  qsec vs am gear carb
## Mazda RX4           21.0   6 160.0 110 3.90 2.620 16.46  0  1    4    4
## Mazda RX4 Wag       21.0   6 160.0 110 3.90 2.875 17.02  0  1    4    4
## Datsun 710          22.8   4 108.0  93 3.85 2.320 18.61  1  1    4    1
## Hornet 4 Drive      21.4   6 258.0 110 3.08 3.215 19.44  1  0    3    1
## Hornet Sportabout   18.7   8 360.0 175 3.15 3.440 17.02  0  0    3    2
## Valiant             18.1   6 225.0 105 2.76 3.460 20.22  1  0    3    1
## Duster 360          14.3   8 360.0 245 3.21 3.570 15.84  0  0    3    4
## Merc 240D           24.4   4 146.7  62 3.69 3.190 20.00  1  0    4    2
## Merc 230            22.8   4 140.8  95 3.92 3.150 22.90  1  0    4    2
## Merc 280            19.2   6 167.6 123 3.92 3.440 18.30  1  0    4    4
## Merc 280C           17.8   6 167.6 123 3.92 3.440 18.90  1  0    4    4
## Merc 450SE          16.4   8 275.8 180 3.07 4.070 17.40  0  0    3    3
## Merc 450SL          17.3   8 275.8 180 3.07 3.730 17.60  0  0    3    3
## Merc 450SLC         15.2   8 275.8 180 3.07 3.780 18.00  0  0    3    3
## Cadillac Fleetwood  10.4   8 472.0 205 2.93 5.250 17.98  0  0    3    4
## Lincoln Continental 10.4   8 460.0 215 3.00 5.424 17.82  0  0    3    4
## Chrysler Imperial   14.7   8 440.0 230 3.23 5.345 17.42  0  0    3    4
## Fiat 128            32.4   4  78.7  66 4.08 2.200 19.47  1  1    4    1
## Honda Civic         30.4   4  75.7  52 4.93 1.615 18.52  1  1    4    2
## Toyota Corolla      33.9   4  71.1  65 4.22 1.835 19.90  1  1    4    1
## Toyota Corona       21.5   4 120.1  97 3.70 2.465 20.01  1  0    3    1
## Dodge Challenger    15.5   8 318.0 150 2.76 3.520 16.87  0  0    3    2
## AMC Javelin         15.2   8 304.0 150 3.15 3.435 17.30  0  0    3    2
## Camaro Z28          13.3   8 350.0 245 3.73 3.840 15.41  0  0    3    4
## Pontiac Firebird    19.2   8 400.0 175 3.08 3.845 17.05  0  0    3    2
## Fiat X1-9           27.3   4  79.0  66 4.08 1.935 18.90  1  1    4    1
## Porsche 914-2       26.0   4 120.3  91 4.43 2.140 16.70  0  1    5    2
## Lotus Europa        30.4   4  95.1 113 3.77 1.513 16.90  1  1    5    2
## Ford Pantera L      15.8   8 351.0 264 4.22 3.170 14.50  0  1    5    4
## Ferrari Dino        19.7   6 145.0 175 3.62 2.770 15.50  0  1    5    6
## Maserati Bora       15.0   8 301.0 335 3.54 3.570 14.60  0  1    5    8
## Volvo 142E          21.4   4 121.0 109 4.11 2.780 18.60  1  1    4    2
str(mtcars)
## 'data.frame':    32 obs. of  11 variables:
##  $ mpg : num  21 21 22.8 21.4 18.7 18.1 14.3 24.4 22.8 19.2 ...
##  $ cyl : num  6 6 4 6 8 6 8 4 4 6 ...
##  $ disp: num  160 160 108 258 360 ...
##  $ hp  : num  110 110 93 110 175 105 245 62 95 123 ...
##  $ drat: num  3.9 3.9 3.85 3.08 3.15 2.76 3.21 3.69 3.92 3.92 ...
##  $ wt  : num  2.62 2.88 2.32 3.21 3.44 ...
##  $ qsec: num  16.5 17 18.6 19.4 17 ...
##  $ vs  : num  0 0 1 1 0 1 0 1 1 1 ...
##  $ am  : num  1 1 1 0 0 0 0 0 0 0 ...
##  $ gear: num  4 4 4 3 3 3 3 4 4 4 ...
##  $ carb: num  4 4 1 1 2 1 4 2 2 4 ...

4). Mengganti missing value

data(airquality)
airquality
##     Ozone Solar.R Wind Temp Month Day
## 1      41     190  7.4   67     5   1
## 2      36     118  8.0   72     5   2
## 3      12     149 12.6   74     5   3
## 4      18     313 11.5   62     5   4
## 5      NA      NA 14.3   56     5   5
## 6      28      NA 14.9   66     5   6
## 7      23     299  8.6   65     5   7
## 8      19      99 13.8   59     5   8
## 9       8      19 20.1   61     5   9
## 10     NA     194  8.6   69     5  10
## 11      7      NA  6.9   74     5  11
## 12     16     256  9.7   69     5  12
## 13     11     290  9.2   66     5  13
## 14     14     274 10.9   68     5  14
## 15     18      65 13.2   58     5  15
## 16     14     334 11.5   64     5  16
## 17     34     307 12.0   66     5  17
## 18      6      78 18.4   57     5  18
## 19     30     322 11.5   68     5  19
## 20     11      44  9.7   62     5  20
## 21      1       8  9.7   59     5  21
## 22     11     320 16.6   73     5  22
## 23      4      25  9.7   61     5  23
## 24     32      92 12.0   61     5  24
## 25     NA      66 16.6   57     5  25
## 26     NA     266 14.9   58     5  26
## 27     NA      NA  8.0   57     5  27
## 28     23      13 12.0   67     5  28
## 29     45     252 14.9   81     5  29
## 30    115     223  5.7   79     5  30
## 31     37     279  7.4   76     5  31
## 32     NA     286  8.6   78     6   1
## 33     NA     287  9.7   74     6   2
## 34     NA     242 16.1   67     6   3
## 35     NA     186  9.2   84     6   4
## 36     NA     220  8.6   85     6   5
## 37     NA     264 14.3   79     6   6
## 38     29     127  9.7   82     6   7
## 39     NA     273  6.9   87     6   8
## 40     71     291 13.8   90     6   9
## 41     39     323 11.5   87     6  10
## 42     NA     259 10.9   93     6  11
## 43     NA     250  9.2   92     6  12
## 44     23     148  8.0   82     6  13
## 45     NA     332 13.8   80     6  14
## 46     NA     322 11.5   79     6  15
## 47     21     191 14.9   77     6  16
## 48     37     284 20.7   72     6  17
## 49     20      37  9.2   65     6  18
## 50     12     120 11.5   73     6  19
## 51     13     137 10.3   76     6  20
## 52     NA     150  6.3   77     6  21
## 53     NA      59  1.7   76     6  22
## 54     NA      91  4.6   76     6  23
## 55     NA     250  6.3   76     6  24
## 56     NA     135  8.0   75     6  25
## 57     NA     127  8.0   78     6  26
## 58     NA      47 10.3   73     6  27
## 59     NA      98 11.5   80     6  28
## 60     NA      31 14.9   77     6  29
## 61     NA     138  8.0   83     6  30
## 62    135     269  4.1   84     7   1
## 63     49     248  9.2   85     7   2
## 64     32     236  9.2   81     7   3
## 65     NA     101 10.9   84     7   4
## 66     64     175  4.6   83     7   5
## 67     40     314 10.9   83     7   6
## 68     77     276  5.1   88     7   7
## 69     97     267  6.3   92     7   8
## 70     97     272  5.7   92     7   9
## 71     85     175  7.4   89     7  10
## 72     NA     139  8.6   82     7  11
## 73     10     264 14.3   73     7  12
## 74     27     175 14.9   81     7  13
## 75     NA     291 14.9   91     7  14
## 76      7      48 14.3   80     7  15
## 77     48     260  6.9   81     7  16
## 78     35     274 10.3   82     7  17
## 79     61     285  6.3   84     7  18
## 80     79     187  5.1   87     7  19
## 81     63     220 11.5   85     7  20
## 82     16       7  6.9   74     7  21
## 83     NA     258  9.7   81     7  22
## 84     NA     295 11.5   82     7  23
## 85     80     294  8.6   86     7  24
## 86    108     223  8.0   85     7  25
## 87     20      81  8.6   82     7  26
## 88     52      82 12.0   86     7  27
## 89     82     213  7.4   88     7  28
## 90     50     275  7.4   86     7  29
## 91     64     253  7.4   83     7  30
## 92     59     254  9.2   81     7  31
## 93     39      83  6.9   81     8   1
## 94      9      24 13.8   81     8   2
## 95     16      77  7.4   82     8   3
## 96     78      NA  6.9   86     8   4
## 97     35      NA  7.4   85     8   5
## 98     66      NA  4.6   87     8   6
## 99    122     255  4.0   89     8   7
## 100    89     229 10.3   90     8   8
## 101   110     207  8.0   90     8   9
## 102    NA     222  8.6   92     8  10
## 103    NA     137 11.5   86     8  11
## 104    44     192 11.5   86     8  12
## 105    28     273 11.5   82     8  13
## 106    65     157  9.7   80     8  14
## 107    NA      64 11.5   79     8  15
## 108    22      71 10.3   77     8  16
## 109    59      51  6.3   79     8  17
## 110    23     115  7.4   76     8  18
## 111    31     244 10.9   78     8  19
## 112    44     190 10.3   78     8  20
## 113    21     259 15.5   77     8  21
## 114     9      36 14.3   72     8  22
## 115    NA     255 12.6   75     8  23
## 116    45     212  9.7   79     8  24
## 117   168     238  3.4   81     8  25
## 118    73     215  8.0   86     8  26
## 119    NA     153  5.7   88     8  27
## 120    76     203  9.7   97     8  28
## 121   118     225  2.3   94     8  29
## 122    84     237  6.3   96     8  30
## 123    85     188  6.3   94     8  31
## 124    96     167  6.9   91     9   1
## 125    78     197  5.1   92     9   2
## 126    73     183  2.8   93     9   3
## 127    91     189  4.6   93     9   4
## 128    47      95  7.4   87     9   5
## 129    32      92 15.5   84     9   6
## 130    20     252 10.9   80     9   7
## 131    23     220 10.3   78     9   8
## 132    21     230 10.9   75     9   9
## 133    24     259  9.7   73     9  10
## 134    44     236 14.9   81     9  11
## 135    21     259 15.5   76     9  12
## 136    28     238  6.3   77     9  13
## 137     9      24 10.9   71     9  14
## 138    13     112 11.5   71     9  15
## 139    46     237  6.9   78     9  16
## 140    18     224 13.8   67     9  17
## 141    13      27 10.3   76     9  18
## 142    24     238 10.3   68     9  19
## 143    16     201  8.0   82     9  20
## 144    13     238 12.6   64     9  21
## 145    23      14  9.2   71     9  22
## 146    36     139 10.3   81     9  23
## 147     7      49 10.3   69     9  24
## 148    14      20 16.6   63     9  25
## 149    30     193  6.9   70     9  26
## 150    NA     145 13.2   77     9  27
## 151    14     191 14.3   75     9  28
## 152    18     131  8.0   76     9  29
## 153    20     223 11.5   68     9  30
summary(airquality)
##      Ozone           Solar.R           Wind             Temp      
##  Min.   :  1.00   Min.   :  7.0   Min.   : 1.700   Min.   :56.00  
##  1st Qu.: 18.00   1st Qu.:115.8   1st Qu.: 7.400   1st Qu.:72.00  
##  Median : 31.50   Median :205.0   Median : 9.700   Median :79.00  
##  Mean   : 42.13   Mean   :185.9   Mean   : 9.958   Mean   :77.88  
##  3rd Qu.: 63.25   3rd Qu.:258.8   3rd Qu.:11.500   3rd Qu.:85.00  
##  Max.   :168.00   Max.   :334.0   Max.   :20.700   Max.   :97.00  
##  NA's   :37       NA's   :7                                       
##      Month            Day      
##  Min.   :5.000   Min.   : 1.0  
##  1st Qu.:6.000   1st Qu.: 8.0  
##  Median :7.000   Median :16.0  
##  Mean   :6.993   Mean   :15.8  
##  3rd Qu.:8.000   3rd Qu.:23.0  
##  Max.   :9.000   Max.   :31.0  
## 
colSums(is.na(airquality))
##   Ozone Solar.R    Wind    Temp   Month     Day 
##      37       7       0       0       0       0
airquality$Ozone[is.na(airquality$Ozone)] <-median(airquality$Ozone,na.rm = TRUE) 
airquality
##     Ozone Solar.R Wind Temp Month Day
## 1    41.0     190  7.4   67     5   1
## 2    36.0     118  8.0   72     5   2
## 3    12.0     149 12.6   74     5   3
## 4    18.0     313 11.5   62     5   4
## 5    31.5      NA 14.3   56     5   5
## 6    28.0      NA 14.9   66     5   6
## 7    23.0     299  8.6   65     5   7
## 8    19.0      99 13.8   59     5   8
## 9     8.0      19 20.1   61     5   9
## 10   31.5     194  8.6   69     5  10
## 11    7.0      NA  6.9   74     5  11
## 12   16.0     256  9.7   69     5  12
## 13   11.0     290  9.2   66     5  13
## 14   14.0     274 10.9   68     5  14
## 15   18.0      65 13.2   58     5  15
## 16   14.0     334 11.5   64     5  16
## 17   34.0     307 12.0   66     5  17
## 18    6.0      78 18.4   57     5  18
## 19   30.0     322 11.5   68     5  19
## 20   11.0      44  9.7   62     5  20
## 21    1.0       8  9.7   59     5  21
## 22   11.0     320 16.6   73     5  22
## 23    4.0      25  9.7   61     5  23
## 24   32.0      92 12.0   61     5  24
## 25   31.5      66 16.6   57     5  25
## 26   31.5     266 14.9   58     5  26
## 27   31.5      NA  8.0   57     5  27
## 28   23.0      13 12.0   67     5  28
## 29   45.0     252 14.9   81     5  29
## 30  115.0     223  5.7   79     5  30
## 31   37.0     279  7.4   76     5  31
## 32   31.5     286  8.6   78     6   1
## 33   31.5     287  9.7   74     6   2
## 34   31.5     242 16.1   67     6   3
## 35   31.5     186  9.2   84     6   4
## 36   31.5     220  8.6   85     6   5
## 37   31.5     264 14.3   79     6   6
## 38   29.0     127  9.7   82     6   7
## 39   31.5     273  6.9   87     6   8
## 40   71.0     291 13.8   90     6   9
## 41   39.0     323 11.5   87     6  10
## 42   31.5     259 10.9   93     6  11
## 43   31.5     250  9.2   92     6  12
## 44   23.0     148  8.0   82     6  13
## 45   31.5     332 13.8   80     6  14
## 46   31.5     322 11.5   79     6  15
## 47   21.0     191 14.9   77     6  16
## 48   37.0     284 20.7   72     6  17
## 49   20.0      37  9.2   65     6  18
## 50   12.0     120 11.5   73     6  19
## 51   13.0     137 10.3   76     6  20
## 52   31.5     150  6.3   77     6  21
## 53   31.5      59  1.7   76     6  22
## 54   31.5      91  4.6   76     6  23
## 55   31.5     250  6.3   76     6  24
## 56   31.5     135  8.0   75     6  25
## 57   31.5     127  8.0   78     6  26
## 58   31.5      47 10.3   73     6  27
## 59   31.5      98 11.5   80     6  28
## 60   31.5      31 14.9   77     6  29
## 61   31.5     138  8.0   83     6  30
## 62  135.0     269  4.1   84     7   1
## 63   49.0     248  9.2   85     7   2
## 64   32.0     236  9.2   81     7   3
## 65   31.5     101 10.9   84     7   4
## 66   64.0     175  4.6   83     7   5
## 67   40.0     314 10.9   83     7   6
## 68   77.0     276  5.1   88     7   7
## 69   97.0     267  6.3   92     7   8
## 70   97.0     272  5.7   92     7   9
## 71   85.0     175  7.4   89     7  10
## 72   31.5     139  8.6   82     7  11
## 73   10.0     264 14.3   73     7  12
## 74   27.0     175 14.9   81     7  13
## 75   31.5     291 14.9   91     7  14
## 76    7.0      48 14.3   80     7  15
## 77   48.0     260  6.9   81     7  16
## 78   35.0     274 10.3   82     7  17
## 79   61.0     285  6.3   84     7  18
## 80   79.0     187  5.1   87     7  19
## 81   63.0     220 11.5   85     7  20
## 82   16.0       7  6.9   74     7  21
## 83   31.5     258  9.7   81     7  22
## 84   31.5     295 11.5   82     7  23
## 85   80.0     294  8.6   86     7  24
## 86  108.0     223  8.0   85     7  25
## 87   20.0      81  8.6   82     7  26
## 88   52.0      82 12.0   86     7  27
## 89   82.0     213  7.4   88     7  28
## 90   50.0     275  7.4   86     7  29
## 91   64.0     253  7.4   83     7  30
## 92   59.0     254  9.2   81     7  31
## 93   39.0      83  6.9   81     8   1
## 94    9.0      24 13.8   81     8   2
## 95   16.0      77  7.4   82     8   3
## 96   78.0      NA  6.9   86     8   4
## 97   35.0      NA  7.4   85     8   5
## 98   66.0      NA  4.6   87     8   6
## 99  122.0     255  4.0   89     8   7
## 100  89.0     229 10.3   90     8   8
## 101 110.0     207  8.0   90     8   9
## 102  31.5     222  8.6   92     8  10
## 103  31.5     137 11.5   86     8  11
## 104  44.0     192 11.5   86     8  12
## 105  28.0     273 11.5   82     8  13
## 106  65.0     157  9.7   80     8  14
## 107  31.5      64 11.5   79     8  15
## 108  22.0      71 10.3   77     8  16
## 109  59.0      51  6.3   79     8  17
## 110  23.0     115  7.4   76     8  18
## 111  31.0     244 10.9   78     8  19
## 112  44.0     190 10.3   78     8  20
## 113  21.0     259 15.5   77     8  21
## 114   9.0      36 14.3   72     8  22
## 115  31.5     255 12.6   75     8  23
## 116  45.0     212  9.7   79     8  24
## 117 168.0     238  3.4   81     8  25
## 118  73.0     215  8.0   86     8  26
## 119  31.5     153  5.7   88     8  27
## 120  76.0     203  9.7   97     8  28
## 121 118.0     225  2.3   94     8  29
## 122  84.0     237  6.3   96     8  30
## 123  85.0     188  6.3   94     8  31
## 124  96.0     167  6.9   91     9   1
## 125  78.0     197  5.1   92     9   2
## 126  73.0     183  2.8   93     9   3
## 127  91.0     189  4.6   93     9   4
## 128  47.0      95  7.4   87     9   5
## 129  32.0      92 15.5   84     9   6
## 130  20.0     252 10.9   80     9   7
## 131  23.0     220 10.3   78     9   8
## 132  21.0     230 10.9   75     9   9
## 133  24.0     259  9.7   73     9  10
## 134  44.0     236 14.9   81     9  11
## 135  21.0     259 15.5   76     9  12
## 136  28.0     238  6.3   77     9  13
## 137   9.0      24 10.9   71     9  14
## 138  13.0     112 11.5   71     9  15
## 139  46.0     237  6.9   78     9  16
## 140  18.0     224 13.8   67     9  17
## 141  13.0      27 10.3   76     9  18
## 142  24.0     238 10.3   68     9  19
## 143  16.0     201  8.0   82     9  20
## 144  13.0     238 12.6   64     9  21
## 145  23.0      14  9.2   71     9  22
## 146  36.0     139 10.3   81     9  23
## 147   7.0      49 10.3   69     9  24
## 148  14.0      20 16.6   63     9  25
## 149  30.0     193  6.9   70     9  26
## 150  31.5     145 13.2   77     9  27
## 151  14.0     191 14.3   75     9  28
## 152  18.0     131  8.0   76     9  29
## 153  20.0     223 11.5   68     9  30

5). scatter plot mpg vs WT

plot(mtcars$mpg, mtcars$wt, main = "Scatterplot MPG vs WT", xlab="MPG", ylab = "WT", col="black")

6). tren berat ayam dengan time series

data("ChickWeight")
ChickWeight
##     weight Time Chick Diet
## 1       42    0     1    1
## 2       51    2     1    1
## 3       59    4     1    1
## 4       64    6     1    1
## 5       76    8     1    1
## 6       93   10     1    1
## 7      106   12     1    1
## 8      125   14     1    1
## 9      149   16     1    1
## 10     171   18     1    1
## 11     199   20     1    1
## 12     205   21     1    1
## 13      40    0     2    1
## 14      49    2     2    1
## 15      58    4     2    1
## 16      72    6     2    1
## 17      84    8     2    1
## 18     103   10     2    1
## 19     122   12     2    1
## 20     138   14     2    1
## 21     162   16     2    1
## 22     187   18     2    1
## 23     209   20     2    1
## 24     215   21     2    1
## 25      43    0     3    1
## 26      39    2     3    1
## 27      55    4     3    1
## 28      67    6     3    1
## 29      84    8     3    1
## 30      99   10     3    1
## 31     115   12     3    1
## 32     138   14     3    1
## 33     163   16     3    1
## 34     187   18     3    1
## 35     198   20     3    1
## 36     202   21     3    1
## 37      42    0     4    1
## 38      49    2     4    1
## 39      56    4     4    1
## 40      67    6     4    1
## 41      74    8     4    1
## 42      87   10     4    1
## 43     102   12     4    1
## 44     108   14     4    1
## 45     136   16     4    1
## 46     154   18     4    1
## 47     160   20     4    1
## 48     157   21     4    1
## 49      41    0     5    1
## 50      42    2     5    1
## 51      48    4     5    1
## 52      60    6     5    1
## 53      79    8     5    1
## 54     106   10     5    1
## 55     141   12     5    1
## 56     164   14     5    1
## 57     197   16     5    1
## 58     199   18     5    1
## 59     220   20     5    1
## 60     223   21     5    1
## 61      41    0     6    1
## 62      49    2     6    1
## 63      59    4     6    1
## 64      74    6     6    1
## 65      97    8     6    1
## 66     124   10     6    1
## 67     141   12     6    1
## 68     148   14     6    1
## 69     155   16     6    1
## 70     160   18     6    1
## 71     160   20     6    1
## 72     157   21     6    1
## 73      41    0     7    1
## 74      49    2     7    1
## 75      57    4     7    1
## 76      71    6     7    1
## 77      89    8     7    1
## 78     112   10     7    1
## 79     146   12     7    1
## 80     174   14     7    1
## 81     218   16     7    1
## 82     250   18     7    1
## 83     288   20     7    1
## 84     305   21     7    1
## 85      42    0     8    1
## 86      50    2     8    1
## 87      61    4     8    1
## 88      71    6     8    1
## 89      84    8     8    1
## 90      93   10     8    1
## 91     110   12     8    1
## 92     116   14     8    1
## 93     126   16     8    1
## 94     134   18     8    1
## 95     125   20     8    1
## 96      42    0     9    1
## 97      51    2     9    1
## 98      59    4     9    1
## 99      68    6     9    1
## 100     85    8     9    1
## 101     96   10     9    1
## 102     90   12     9    1
## 103     92   14     9    1
## 104     93   16     9    1
## 105    100   18     9    1
## 106    100   20     9    1
## 107     98   21     9    1
## 108     41    0    10    1
## 109     44    2    10    1
## 110     52    4    10    1
## 111     63    6    10    1
## 112     74    8    10    1
## 113     81   10    10    1
## 114     89   12    10    1
## 115     96   14    10    1
## 116    101   16    10    1
## 117    112   18    10    1
## 118    120   20    10    1
## 119    124   21    10    1
## 120     43    0    11    1
## 121     51    2    11    1
## 122     63    4    11    1
## 123     84    6    11    1
## 124    112    8    11    1
## 125    139   10    11    1
## 126    168   12    11    1
## 127    177   14    11    1
## 128    182   16    11    1
## 129    184   18    11    1
## 130    181   20    11    1
## 131    175   21    11    1
## 132     41    0    12    1
## 133     49    2    12    1
## 134     56    4    12    1
## 135     62    6    12    1
## 136     72    8    12    1
## 137     88   10    12    1
## 138    119   12    12    1
## 139    135   14    12    1
## 140    162   16    12    1
## 141    185   18    12    1
## 142    195   20    12    1
## 143    205   21    12    1
## 144     41    0    13    1
## 145     48    2    13    1
## 146     53    4    13    1
## 147     60    6    13    1
## 148     65    8    13    1
## 149     67   10    13    1
## 150     71   12    13    1
## 151     70   14    13    1
## 152     71   16    13    1
## 153     81   18    13    1
## 154     91   20    13    1
## 155     96   21    13    1
## 156     41    0    14    1
## 157     49    2    14    1
## 158     62    4    14    1
## 159     79    6    14    1
## 160    101    8    14    1
## 161    128   10    14    1
## 162    164   12    14    1
## 163    192   14    14    1
## 164    227   16    14    1
## 165    248   18    14    1
## 166    259   20    14    1
## 167    266   21    14    1
## 168     41    0    15    1
## 169     49    2    15    1
## 170     56    4    15    1
## 171     64    6    15    1
## 172     68    8    15    1
## 173     68   10    15    1
## 174     67   12    15    1
## 175     68   14    15    1
## 176     41    0    16    1
## 177     45    2    16    1
## 178     49    4    16    1
## 179     51    6    16    1
## 180     57    8    16    1
## 181     51   10    16    1
## 182     54   12    16    1
## 183     42    0    17    1
## 184     51    2    17    1
## 185     61    4    17    1
## 186     72    6    17    1
## 187     83    8    17    1
## 188     89   10    17    1
## 189     98   12    17    1
## 190    103   14    17    1
## 191    113   16    17    1
## 192    123   18    17    1
## 193    133   20    17    1
## 194    142   21    17    1
## 195     39    0    18    1
## 196     35    2    18    1
## 197     43    0    19    1
## 198     48    2    19    1
## 199     55    4    19    1
## 200     62    6    19    1
## 201     65    8    19    1
## 202     71   10    19    1
## 203     82   12    19    1
## 204     88   14    19    1
## 205    106   16    19    1
## 206    120   18    19    1
## 207    144   20    19    1
## 208    157   21    19    1
## 209     41    0    20    1
## 210     47    2    20    1
## 211     54    4    20    1
## 212     58    6    20    1
## 213     65    8    20    1
## 214     73   10    20    1
## 215     77   12    20    1
## 216     89   14    20    1
## 217     98   16    20    1
## 218    107   18    20    1
## 219    115   20    20    1
## 220    117   21    20    1
## 221     40    0    21    2
## 222     50    2    21    2
## 223     62    4    21    2
## 224     86    6    21    2
## 225    125    8    21    2
## 226    163   10    21    2
## 227    217   12    21    2
## 228    240   14    21    2
## 229    275   16    21    2
## 230    307   18    21    2
## 231    318   20    21    2
## 232    331   21    21    2
## 233     41    0    22    2
## 234     55    2    22    2
## 235     64    4    22    2
## 236     77    6    22    2
## 237     90    8    22    2
## 238     95   10    22    2
## 239    108   12    22    2
## 240    111   14    22    2
## 241    131   16    22    2
## 242    148   18    22    2
## 243    164   20    22    2
## 244    167   21    22    2
## 245     43    0    23    2
## 246     52    2    23    2
## 247     61    4    23    2
## 248     73    6    23    2
## 249     90    8    23    2
## 250    103   10    23    2
## 251    127   12    23    2
## 252    135   14    23    2
## 253    145   16    23    2
## 254    163   18    23    2
## 255    170   20    23    2
## 256    175   21    23    2
## 257     42    0    24    2
## 258     52    2    24    2
## 259     58    4    24    2
## 260     74    6    24    2
## 261     66    8    24    2
## 262     68   10    24    2
## 263     70   12    24    2
## 264     71   14    24    2
## 265     72   16    24    2
## 266     72   18    24    2
## 267     76   20    24    2
## 268     74   21    24    2
## 269     40    0    25    2
## 270     49    2    25    2
## 271     62    4    25    2
## 272     78    6    25    2
## 273    102    8    25    2
## 274    124   10    25    2
## 275    146   12    25    2
## 276    164   14    25    2
## 277    197   16    25    2
## 278    231   18    25    2
## 279    259   20    25    2
## 280    265   21    25    2
## 281     42    0    26    2
## 282     48    2    26    2
## 283     57    4    26    2
## 284     74    6    26    2
## 285     93    8    26    2
## 286    114   10    26    2
## 287    136   12    26    2
## 288    147   14    26    2
## 289    169   16    26    2
## 290    205   18    26    2
## 291    236   20    26    2
## 292    251   21    26    2
## 293     39    0    27    2
## 294     46    2    27    2
## 295     58    4    27    2
## 296     73    6    27    2
## 297     87    8    27    2
## 298    100   10    27    2
## 299    115   12    27    2
## 300    123   14    27    2
## 301    144   16    27    2
## 302    163   18    27    2
## 303    185   20    27    2
## 304    192   21    27    2
## 305     39    0    28    2
## 306     46    2    28    2
## 307     58    4    28    2
## 308     73    6    28    2
## 309     92    8    28    2
## 310    114   10    28    2
## 311    145   12    28    2
## 312    156   14    28    2
## 313    184   16    28    2
## 314    207   18    28    2
## 315    212   20    28    2
## 316    233   21    28    2
## 317     39    0    29    2
## 318     48    2    29    2
## 319     59    4    29    2
## 320     74    6    29    2
## 321     87    8    29    2
## 322    106   10    29    2
## 323    134   12    29    2
## 324    150   14    29    2
## 325    187   16    29    2
## 326    230   18    29    2
## 327    279   20    29    2
## 328    309   21    29    2
## 329     42    0    30    2
## 330     48    2    30    2
## 331     59    4    30    2
## 332     72    6    30    2
## 333     85    8    30    2
## 334     98   10    30    2
## 335    115   12    30    2
## 336    122   14    30    2
## 337    143   16    30    2
## 338    151   18    30    2
## 339    157   20    30    2
## 340    150   21    30    2
## 341     42    0    31    3
## 342     53    2    31    3
## 343     62    4    31    3
## 344     73    6    31    3
## 345     85    8    31    3
## 346    102   10    31    3
## 347    123   12    31    3
## 348    138   14    31    3
## 349    170   16    31    3
## 350    204   18    31    3
## 351    235   20    31    3
## 352    256   21    31    3
## 353     41    0    32    3
## 354     49    2    32    3
## 355     65    4    32    3
## 356     82    6    32    3
## 357    107    8    32    3
## 358    129   10    32    3
## 359    159   12    32    3
## 360    179   14    32    3
## 361    221   16    32    3
## 362    263   18    32    3
## 363    291   20    32    3
## 364    305   21    32    3
## 365     39    0    33    3
## 366     50    2    33    3
## 367     63    4    33    3
## 368     77    6    33    3
## 369     96    8    33    3
## 370    111   10    33    3
## 371    137   12    33    3
## 372    144   14    33    3
## 373    151   16    33    3
## 374    146   18    33    3
## 375    156   20    33    3
## 376    147   21    33    3
## 377     41    0    34    3
## 378     49    2    34    3
## 379     63    4    34    3
## 380     85    6    34    3
## 381    107    8    34    3
## 382    134   10    34    3
## 383    164   12    34    3
## 384    186   14    34    3
## 385    235   16    34    3
## 386    294   18    34    3
## 387    327   20    34    3
## 388    341   21    34    3
## 389     41    0    35    3
## 390     53    2    35    3
## 391     64    4    35    3
## 392     87    6    35    3
## 393    123    8    35    3
## 394    158   10    35    3
## 395    201   12    35    3
## 396    238   14    35    3
## 397    287   16    35    3
## 398    332   18    35    3
## 399    361   20    35    3
## 400    373   21    35    3
## 401     39    0    36    3
## 402     48    2    36    3
## 403     61    4    36    3
## 404     76    6    36    3
## 405     98    8    36    3
## 406    116   10    36    3
## 407    145   12    36    3
## 408    166   14    36    3
## 409    198   16    36    3
## 410    227   18    36    3
## 411    225   20    36    3
## 412    220   21    36    3
## 413     41    0    37    3
## 414     48    2    37    3
## 415     56    4    37    3
## 416     68    6    37    3
## 417     80    8    37    3
## 418     83   10    37    3
## 419    103   12    37    3
## 420    112   14    37    3
## 421    135   16    37    3
## 422    157   18    37    3
## 423    169   20    37    3
## 424    178   21    37    3
## 425     41    0    38    3
## 426     49    2    38    3
## 427     61    4    38    3
## 428     74    6    38    3
## 429     98    8    38    3
## 430    109   10    38    3
## 431    128   12    38    3
## 432    154   14    38    3
## 433    192   16    38    3
## 434    232   18    38    3
## 435    280   20    38    3
## 436    290   21    38    3
## 437     42    0    39    3
## 438     50    2    39    3
## 439     61    4    39    3
## 440     78    6    39    3
## 441     89    8    39    3
## 442    109   10    39    3
## 443    130   12    39    3
## 444    146   14    39    3
## 445    170   16    39    3
## 446    214   18    39    3
## 447    250   20    39    3
## 448    272   21    39    3
## 449     41    0    40    3
## 450     55    2    40    3
## 451     66    4    40    3
## 452     79    6    40    3
## 453    101    8    40    3
## 454    120   10    40    3
## 455    154   12    40    3
## 456    182   14    40    3
## 457    215   16    40    3
## 458    262   18    40    3
## 459    295   20    40    3
## 460    321   21    40    3
## 461     42    0    41    4
## 462     51    2    41    4
## 463     66    4    41    4
## 464     85    6    41    4
## 465    103    8    41    4
## 466    124   10    41    4
## 467    155   12    41    4
## 468    153   14    41    4
## 469    175   16    41    4
## 470    184   18    41    4
## 471    199   20    41    4
## 472    204   21    41    4
## 473     42    0    42    4
## 474     49    2    42    4
## 475     63    4    42    4
## 476     84    6    42    4
## 477    103    8    42    4
## 478    126   10    42    4
## 479    160   12    42    4
## 480    174   14    42    4
## 481    204   16    42    4
## 482    234   18    42    4
## 483    269   20    42    4
## 484    281   21    42    4
## 485     42    0    43    4
## 486     55    2    43    4
## 487     69    4    43    4
## 488     96    6    43    4
## 489    131    8    43    4
## 490    157   10    43    4
## 491    184   12    43    4
## 492    188   14    43    4
## 493    197   16    43    4
## 494    198   18    43    4
## 495    199   20    43    4
## 496    200   21    43    4
## 497     42    0    44    4
## 498     51    2    44    4
## 499     65    4    44    4
## 500     86    6    44    4
## 501    103    8    44    4
## 502    118   10    44    4
## 503    127   12    44    4
## 504    138   14    44    4
## 505    145   16    44    4
## 506    146   18    44    4
## 507     41    0    45    4
## 508     50    2    45    4
## 509     61    4    45    4
## 510     78    6    45    4
## 511     98    8    45    4
## 512    117   10    45    4
## 513    135   12    45    4
## 514    141   14    45    4
## 515    147   16    45    4
## 516    174   18    45    4
## 517    197   20    45    4
## 518    196   21    45    4
## 519     40    0    46    4
## 520     52    2    46    4
## 521     62    4    46    4
## 522     82    6    46    4
## 523    101    8    46    4
## 524    120   10    46    4
## 525    144   12    46    4
## 526    156   14    46    4
## 527    173   16    46    4
## 528    210   18    46    4
## 529    231   20    46    4
## 530    238   21    46    4
## 531     41    0    47    4
## 532     53    2    47    4
## 533     66    4    47    4
## 534     79    6    47    4
## 535    100    8    47    4
## 536    123   10    47    4
## 537    148   12    47    4
## 538    157   14    47    4
## 539    168   16    47    4
## 540    185   18    47    4
## 541    210   20    47    4
## 542    205   21    47    4
## 543     39    0    48    4
## 544     50    2    48    4
## 545     62    4    48    4
## 546     80    6    48    4
## 547    104    8    48    4
## 548    125   10    48    4
## 549    154   12    48    4
## 550    170   14    48    4
## 551    222   16    48    4
## 552    261   18    48    4
## 553    303   20    48    4
## 554    322   21    48    4
## 555     40    0    49    4
## 556     53    2    49    4
## 557     64    4    49    4
## 558     85    6    49    4
## 559    108    8    49    4
## 560    128   10    49    4
## 561    152   12    49    4
## 562    166   14    49    4
## 563    184   16    49    4
## 564    203   18    49    4
## 565    233   20    49    4
## 566    237   21    49    4
## 567     41    0    50    4
## 568     54    2    50    4
## 569     67    4    50    4
## 570     84    6    50    4
## 571    105    8    50    4
## 572    122   10    50    4
## 573    155   12    50    4
## 574    175   14    50    4
## 575    205   16    50    4
## 576    234   18    50    4
## 577    264   20    50    4
## 578    264   21    50    4
ggplot(ChickWeight, aes(x = Time, y = weight, group = Chick)) + geom_line()

7). visualisasi price berdasarkan cut

boxplot(price ~ cut, data=diamonds, main="Harga Berdasarkan Cut", xlab="Cut", ylab="Price", col="pink")

8). korelasi data faithful

data("faithful")
faithful
##     eruptions waiting
## 1       3.600      79
## 2       1.800      54
## 3       3.333      74
## 4       2.283      62
## 5       4.533      85
## 6       2.883      55
## 7       4.700      88
## 8       3.600      85
## 9       1.950      51
## 10      4.350      85
## 11      1.833      54
## 12      3.917      84
## 13      4.200      78
## 14      1.750      47
## 15      4.700      83
## 16      2.167      52
## 17      1.750      62
## 18      4.800      84
## 19      1.600      52
## 20      4.250      79
## 21      1.800      51
## 22      1.750      47
## 23      3.450      78
## 24      3.067      69
## 25      4.533      74
## 26      3.600      83
## 27      1.967      55
## 28      4.083      76
## 29      3.850      78
## 30      4.433      79
## 31      4.300      73
## 32      4.467      77
## 33      3.367      66
## 34      4.033      80
## 35      3.833      74
## 36      2.017      52
## 37      1.867      48
## 38      4.833      80
## 39      1.833      59
## 40      4.783      90
## 41      4.350      80
## 42      1.883      58
## 43      4.567      84
## 44      1.750      58
## 45      4.533      73
## 46      3.317      83
## 47      3.833      64
## 48      2.100      53
## 49      4.633      82
## 50      2.000      59
## 51      4.800      75
## 52      4.716      90
## 53      1.833      54
## 54      4.833      80
## 55      1.733      54
## 56      4.883      83
## 57      3.717      71
## 58      1.667      64
## 59      4.567      77
## 60      4.317      81
## 61      2.233      59
## 62      4.500      84
## 63      1.750      48
## 64      4.800      82
## 65      1.817      60
## 66      4.400      92
## 67      4.167      78
## 68      4.700      78
## 69      2.067      65
## 70      4.700      73
## 71      4.033      82
## 72      1.967      56
## 73      4.500      79
## 74      4.000      71
## 75      1.983      62
## 76      5.067      76
## 77      2.017      60
## 78      4.567      78
## 79      3.883      76
## 80      3.600      83
## 81      4.133      75
## 82      4.333      82
## 83      4.100      70
## 84      2.633      65
## 85      4.067      73
## 86      4.933      88
## 87      3.950      76
## 88      4.517      80
## 89      2.167      48
## 90      4.000      86
## 91      2.200      60
## 92      4.333      90
## 93      1.867      50
## 94      4.817      78
## 95      1.833      63
## 96      4.300      72
## 97      4.667      84
## 98      3.750      75
## 99      1.867      51
## 100     4.900      82
## 101     2.483      62
## 102     4.367      88
## 103     2.100      49
## 104     4.500      83
## 105     4.050      81
## 106     1.867      47
## 107     4.700      84
## 108     1.783      52
## 109     4.850      86
## 110     3.683      81
## 111     4.733      75
## 112     2.300      59
## 113     4.900      89
## 114     4.417      79
## 115     1.700      59
## 116     4.633      81
## 117     2.317      50
## 118     4.600      85
## 119     1.817      59
## 120     4.417      87
## 121     2.617      53
## 122     4.067      69
## 123     4.250      77
## 124     1.967      56
## 125     4.600      88
## 126     3.767      81
## 127     1.917      45
## 128     4.500      82
## 129     2.267      55
## 130     4.650      90
## 131     1.867      45
## 132     4.167      83
## 133     2.800      56
## 134     4.333      89
## 135     1.833      46
## 136     4.383      82
## 137     1.883      51
## 138     4.933      86
## 139     2.033      53
## 140     3.733      79
## 141     4.233      81
## 142     2.233      60
## 143     4.533      82
## 144     4.817      77
## 145     4.333      76
## 146     1.983      59
## 147     4.633      80
## 148     2.017      49
## 149     5.100      96
## 150     1.800      53
## 151     5.033      77
## 152     4.000      77
## 153     2.400      65
## 154     4.600      81
## 155     3.567      71
## 156     4.000      70
## 157     4.500      81
## 158     4.083      93
## 159     1.800      53
## 160     3.967      89
## 161     2.200      45
## 162     4.150      86
## 163     2.000      58
## 164     3.833      78
## 165     3.500      66
## 166     4.583      76
## 167     2.367      63
## 168     5.000      88
## 169     1.933      52
## 170     4.617      93
## 171     1.917      49
## 172     2.083      57
## 173     4.583      77
## 174     3.333      68
## 175     4.167      81
## 176     4.333      81
## 177     4.500      73
## 178     2.417      50
## 179     4.000      85
## 180     4.167      74
## 181     1.883      55
## 182     4.583      77
## 183     4.250      83
## 184     3.767      83
## 185     2.033      51
## 186     4.433      78
## 187     4.083      84
## 188     1.833      46
## 189     4.417      83
## 190     2.183      55
## 191     4.800      81
## 192     1.833      57
## 193     4.800      76
## 194     4.100      84
## 195     3.966      77
## 196     4.233      81
## 197     3.500      87
## 198     4.366      77
## 199     2.250      51
## 200     4.667      78
## 201     2.100      60
## 202     4.350      82
## 203     4.133      91
## 204     1.867      53
## 205     4.600      78
## 206     1.783      46
## 207     4.367      77
## 208     3.850      84
## 209     1.933      49
## 210     4.500      83
## 211     2.383      71
## 212     4.700      80
## 213     1.867      49
## 214     3.833      75
## 215     3.417      64
## 216     4.233      76
## 217     2.400      53
## 218     4.800      94
## 219     2.000      55
## 220     4.150      76
## 221     1.867      50
## 222     4.267      82
## 223     1.750      54
## 224     4.483      75
## 225     4.000      78
## 226     4.117      79
## 227     4.083      78
## 228     4.267      78
## 229     3.917      70
## 230     4.550      79
## 231     4.083      70
## 232     2.417      54
## 233     4.183      86
## 234     2.217      50
## 235     4.450      90
## 236     1.883      54
## 237     1.850      54
## 238     4.283      77
## 239     3.950      79
## 240     2.333      64
## 241     4.150      75
## 242     2.350      47
## 243     4.933      86
## 244     2.900      63
## 245     4.583      85
## 246     3.833      82
## 247     2.083      57
## 248     4.367      82
## 249     2.133      67
## 250     4.350      74
## 251     2.200      54
## 252     4.450      83
## 253     3.567      73
## 254     4.500      73
## 255     4.150      88
## 256     3.817      80
## 257     3.917      71
## 258     4.450      83
## 259     2.000      56
## 260     4.283      79
## 261     4.767      78
## 262     4.533      84
## 263     1.850      58
## 264     4.250      83
## 265     1.983      43
## 266     2.250      60
## 267     4.750      75
## 268     4.117      81
## 269     2.150      46
## 270     4.417      90
## 271     1.817      46
## 272     4.467      74
cor(faithful$eruptions,faithful$waiting)
## [1] 0.9008112

9). korelasi data mtcars

cor(mtcars$mpg,mtcars$cyl)
## [1] -0.852162

10). visualisasi data iris

data(iris)
iris
##     Sepal.Length Sepal.Width Petal.Length Petal.Width    Species
## 1            5.1         3.5          1.4         0.2     setosa
## 2            4.9         3.0          1.4         0.2     setosa
## 3            4.7         3.2          1.3         0.2     setosa
## 4            4.6         3.1          1.5         0.2     setosa
## 5            5.0         3.6          1.4         0.2     setosa
## 6            5.4         3.9          1.7         0.4     setosa
## 7            4.6         3.4          1.4         0.3     setosa
## 8            5.0         3.4          1.5         0.2     setosa
## 9            4.4         2.9          1.4         0.2     setosa
## 10           4.9         3.1          1.5         0.1     setosa
## 11           5.4         3.7          1.5         0.2     setosa
## 12           4.8         3.4          1.6         0.2     setosa
## 13           4.8         3.0          1.4         0.1     setosa
## 14           4.3         3.0          1.1         0.1     setosa
## 15           5.8         4.0          1.2         0.2     setosa
## 16           5.7         4.4          1.5         0.4     setosa
## 17           5.4         3.9          1.3         0.4     setosa
## 18           5.1         3.5          1.4         0.3     setosa
## 19           5.7         3.8          1.7         0.3     setosa
## 20           5.1         3.8          1.5         0.3     setosa
## 21           5.4         3.4          1.7         0.2     setosa
## 22           5.1         3.7          1.5         0.4     setosa
## 23           4.6         3.6          1.0         0.2     setosa
## 24           5.1         3.3          1.7         0.5     setosa
## 25           4.8         3.4          1.9         0.2     setosa
## 26           5.0         3.0          1.6         0.2     setosa
## 27           5.0         3.4          1.6         0.4     setosa
## 28           5.2         3.5          1.5         0.2     setosa
## 29           5.2         3.4          1.4         0.2     setosa
## 30           4.7         3.2          1.6         0.2     setosa
## 31           4.8         3.1          1.6         0.2     setosa
## 32           5.4         3.4          1.5         0.4     setosa
## 33           5.2         4.1          1.5         0.1     setosa
## 34           5.5         4.2          1.4         0.2     setosa
## 35           4.9         3.1          1.5         0.2     setosa
## 36           5.0         3.2          1.2         0.2     setosa
## 37           5.5         3.5          1.3         0.2     setosa
## 38           4.9         3.6          1.4         0.1     setosa
## 39           4.4         3.0          1.3         0.2     setosa
## 40           5.1         3.4          1.5         0.2     setosa
## 41           5.0         3.5          1.3         0.3     setosa
## 42           4.5         2.3          1.3         0.3     setosa
## 43           4.4         3.2          1.3         0.2     setosa
## 44           5.0         3.5          1.6         0.6     setosa
## 45           5.1         3.8          1.9         0.4     setosa
## 46           4.8         3.0          1.4         0.3     setosa
## 47           5.1         3.8          1.6         0.2     setosa
## 48           4.6         3.2          1.4         0.2     setosa
## 49           5.3         3.7          1.5         0.2     setosa
## 50           5.0         3.3          1.4         0.2     setosa
## 51           7.0         3.2          4.7         1.4 versicolor
## 52           6.4         3.2          4.5         1.5 versicolor
## 53           6.9         3.1          4.9         1.5 versicolor
## 54           5.5         2.3          4.0         1.3 versicolor
## 55           6.5         2.8          4.6         1.5 versicolor
## 56           5.7         2.8          4.5         1.3 versicolor
## 57           6.3         3.3          4.7         1.6 versicolor
## 58           4.9         2.4          3.3         1.0 versicolor
## 59           6.6         2.9          4.6         1.3 versicolor
## 60           5.2         2.7          3.9         1.4 versicolor
## 61           5.0         2.0          3.5         1.0 versicolor
## 62           5.9         3.0          4.2         1.5 versicolor
## 63           6.0         2.2          4.0         1.0 versicolor
## 64           6.1         2.9          4.7         1.4 versicolor
## 65           5.6         2.9          3.6         1.3 versicolor
## 66           6.7         3.1          4.4         1.4 versicolor
## 67           5.6         3.0          4.5         1.5 versicolor
## 68           5.8         2.7          4.1         1.0 versicolor
## 69           6.2         2.2          4.5         1.5 versicolor
## 70           5.6         2.5          3.9         1.1 versicolor
## 71           5.9         3.2          4.8         1.8 versicolor
## 72           6.1         2.8          4.0         1.3 versicolor
## 73           6.3         2.5          4.9         1.5 versicolor
## 74           6.1         2.8          4.7         1.2 versicolor
## 75           6.4         2.9          4.3         1.3 versicolor
## 76           6.6         3.0          4.4         1.4 versicolor
## 77           6.8         2.8          4.8         1.4 versicolor
## 78           6.7         3.0          5.0         1.7 versicolor
## 79           6.0         2.9          4.5         1.5 versicolor
## 80           5.7         2.6          3.5         1.0 versicolor
## 81           5.5         2.4          3.8         1.1 versicolor
## 82           5.5         2.4          3.7         1.0 versicolor
## 83           5.8         2.7          3.9         1.2 versicolor
## 84           6.0         2.7          5.1         1.6 versicolor
## 85           5.4         3.0          4.5         1.5 versicolor
## 86           6.0         3.4          4.5         1.6 versicolor
## 87           6.7         3.1          4.7         1.5 versicolor
## 88           6.3         2.3          4.4         1.3 versicolor
## 89           5.6         3.0          4.1         1.3 versicolor
## 90           5.5         2.5          4.0         1.3 versicolor
## 91           5.5         2.6          4.4         1.2 versicolor
## 92           6.1         3.0          4.6         1.4 versicolor
## 93           5.8         2.6          4.0         1.2 versicolor
## 94           5.0         2.3          3.3         1.0 versicolor
## 95           5.6         2.7          4.2         1.3 versicolor
## 96           5.7         3.0          4.2         1.2 versicolor
## 97           5.7         2.9          4.2         1.3 versicolor
## 98           6.2         2.9          4.3         1.3 versicolor
## 99           5.1         2.5          3.0         1.1 versicolor
## 100          5.7         2.8          4.1         1.3 versicolor
## 101          6.3         3.3          6.0         2.5  virginica
## 102          5.8         2.7          5.1         1.9  virginica
## 103          7.1         3.0          5.9         2.1  virginica
## 104          6.3         2.9          5.6         1.8  virginica
## 105          6.5         3.0          5.8         2.2  virginica
## 106          7.6         3.0          6.6         2.1  virginica
## 107          4.9         2.5          4.5         1.7  virginica
## 108          7.3         2.9          6.3         1.8  virginica
## 109          6.7         2.5          5.8         1.8  virginica
## 110          7.2         3.6          6.1         2.5  virginica
## 111          6.5         3.2          5.1         2.0  virginica
## 112          6.4         2.7          5.3         1.9  virginica
## 113          6.8         3.0          5.5         2.1  virginica
## 114          5.7         2.5          5.0         2.0  virginica
## 115          5.8         2.8          5.1         2.4  virginica
## 116          6.4         3.2          5.3         2.3  virginica
## 117          6.5         3.0          5.5         1.8  virginica
## 118          7.7         3.8          6.7         2.2  virginica
## 119          7.7         2.6          6.9         2.3  virginica
## 120          6.0         2.2          5.0         1.5  virginica
## 121          6.9         3.2          5.7         2.3  virginica
## 122          5.6         2.8          4.9         2.0  virginica
## 123          7.7         2.8          6.7         2.0  virginica
## 124          6.3         2.7          4.9         1.8  virginica
## 125          6.7         3.3          5.7         2.1  virginica
## 126          7.2         3.2          6.0         1.8  virginica
## 127          6.2         2.8          4.8         1.8  virginica
## 128          6.1         3.0          4.9         1.8  virginica
## 129          6.4         2.8          5.6         2.1  virginica
## 130          7.2         3.0          5.8         1.6  virginica
## 131          7.4         2.8          6.1         1.9  virginica
## 132          7.9         3.8          6.4         2.0  virginica
## 133          6.4         2.8          5.6         2.2  virginica
## 134          6.3         2.8          5.1         1.5  virginica
## 135          6.1         2.6          5.6         1.4  virginica
## 136          7.7         3.0          6.1         2.3  virginica
## 137          6.3         3.4          5.6         2.4  virginica
## 138          6.4         3.1          5.5         1.8  virginica
## 139          6.0         3.0          4.8         1.8  virginica
## 140          6.9         3.1          5.4         2.1  virginica
## 141          6.7         3.1          5.6         2.4  virginica
## 142          6.9         3.1          5.1         2.3  virginica
## 143          5.8         2.7          5.1         1.9  virginica
## 144          6.8         3.2          5.9         2.3  virginica
## 145          6.7         3.3          5.7         2.5  virginica
## 146          6.7         3.0          5.2         2.3  virginica
## 147          6.3         2.5          5.0         1.9  virginica
## 148          6.5         3.0          5.2         2.0  virginica
## 149          6.2         3.4          5.4         2.3  virginica
## 150          5.9         3.0          5.1         1.8  virginica
ggplot(iris, aes(x = Species, y = Sepal.Length, fill=Species)) + geom_boxplot() + labs(title = "Boxplot Length berdasarkan Species")