Question
1) Introduction (0.5 - 1 page) 2) Solution (2 - 3 pages) 3) Code listing (1 - 2 pages) Remember your report should be for
1) Introduction (0.5 - 1 page)
2) Solution (2 - 3 pages)
3) Code listing (1 - 2 pages)
Remember your report should be for an intelligent but not very technical audience (like a business specialist in your organization).
# use the tidyverse library library(tidyverse)
# create a dataframe out of tidyverse's mpg data datampg <- mpg
# create vectors to access various variables x_displ <- datampg$displ y_cty <- datampg$cty z_year <- datampg$year
# question 1: what are the mean, median and first & third quartiles for # each of these variables?
# question 2: are displacement and fuel economy correlated? Please # provide a quantitative answer
# question 3: are engines getting smaller each year? How can you show # the relationship between engine size and model year?
# question 4: is manual transmission more fuel efficient than automatic # transmission?
# question 5: which manufacturer makes the most fuel efficient cars?
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