Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5 points Use the same dataset, professional.csv to answer the following questions: 1- Generate a new data frame which contains the average household income by
5 points Use the same dataset, professional.csv to answer the following questions: 1- Generate a new data frame which contains the average household income by age. What is the average household income for a 41 year-old customer? ( 2 points) 2- Plot the relationship between age and the average household income as shown in the following graph. Write an R syntax to generate that graph. Remember to add a smooth line and titles to the X and Y axes. Submit your complete code in the box below. (3 points) 5 points Use the same dataset, professional.csv to answer the following questions: 1- Generate a new data frame which contains the average household income by age. What is the average household income for a 41 year-old customer? ( 2 points) 2- Plot the relationship between age and the average household income as shown in the following graph. Write an R syntax to generate that graph. Remember to add a smooth line and titles to the X and Y axes. Submit your complete code in the box below. (3 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started