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

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 to answer the following questions:
b. Create a Histogram graph for attribute age. Insert the graph in the space below:
c. Create a Histogram graph for attribute log_age. Insert the graph in the space below:
d. Create a Scatterplot graph with attributes education_num and capital_gain. Insert the graph in the space below:
e. Create a Boxplot graph with attributes class and education_num. for more information about creating Boxplots using ggplot2
Load dataset "adult.data.csv" a. Use the function log() to create a new

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!