Question: Consider the ` mtcars ` dataset. Create a graph with all of the following. a . A bar graph with cylinders as a factor on
Consider the mtcars dataset. Create a graph with all of the following.
a A bar graph with cylinders as a factor on the xaxis and the count on the yaxis
b Make the graph into a stacked bar graph using the vs variable to fill in the bars.
c Change both axis labels to something that makes more sense.
d Add a meaningful title.
Extra Point Change the title of the legend to say V Shaped Cylinder
Extra Point Change the legend labels so Vshaped and Straight
Using the table package, create a table that shows descriptive information about the
depdelay, arrdelay and airtime variables from the FLIGHTSDT dataset. Split these
descriptive results by the airport origin In addition, make sure the table includes an overall
column.
Using the EXPECTED and ENROLLED datasets, create a line graph that includes one line with
the expected enrollment and one line with the actual enrollment.
a In addition to the lines, create points that represent each enrollment point for both the
expected and enrolled data.
i The expected enrollment line should be dashed and blue. The expected
enrollment points should be blue.
ii The actual enrolled line should be solid and red. The actual enrolled points
should be red.
b Make sure there are meaningful labels and a meaningful title. Make sure all labels are
meaningful and add meaningful title.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
