Question: Load dataset adult.data.csv a. Use the function log() to create a new attribute log_age which is the log transformed of attribute age. Use ggplot2 library
age workclass education relationship race sex capital loss flwgt 77516 education num 13 occupation Adm-cerca capital gain 2174 1 39 State-ow Bachelors Not- nly White Male marital status Never-marned Married-c.souse Divorced 2 50 13 Exec-manager Husband white Male Seif-em-non 63311 Private 215640 3 38 Bachelors HS-grad 110 Handles-ceaners Not my Male 0 4 53 Private 7 Married couse Husband Back Mae o 0 234721 338409 Handler-ceaners Profety 5 26 Private Bachelor Married WDOUS we Femme 0 6 37 284582 Masters Married couse Exec-managerial WE 0 Private Private Wire Net nomly Fema Female 749 160187 th 5 8 52 Seifer-notine 209642 HS-grad 9 Husband Wibe Mae Married-spouse-absent or service Married couse Execmanagerial Never med Profety Married.civ.spouse Dec-managerial OOOO 9 31 Private 45781 Masters 14 White Female 14054 Not-namy Husband 10 42 Private 159449 Bachelors 13 White Male 5178
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
