Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain how to calculate the total amount of Accounts Payable:

Answered: 1 week ago

Question

Determine whether the following series converge. I+: k+1 k3 k=1

Answered: 1 week ago

Question

Ability to work comfortably in a team environment

Answered: 1 week ago

Question

Exposure to SQL desirable but not required

Answered: 1 week ago