Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The r codes and output. Thank you a. Create a data frame and show a plot of enrollment based on class and race using ggplot
The r codes and output. Thank you
a. Create a data frame and show a plot of enrollment based on class and race using ggplot
b.Generate a plot showing average enrollments by race. Do the same for class using ggplot.
Race | Enrollment | Class |
Black | 26 | Senior |
Hispanic | 20 | Senior |
White | 42 | Senior |
Asian | 15 | Senior |
Others | 9 | Senior |
Black | 19 | Junior |
Hispanic | 15 | Junior |
White | 40 | Junior |
Asian | 21 | Junior |
Others | 10 | Junior |
Black | 15 | Sophomore |
Hispanic | 20 | Sophomore |
White | 41 | Sophomore |
Asian | 20 | Sophomore |
Others | 8 | Sophomore |
Black | 10 | Freshman |
Hispanic | 17 | Freshman |
White | 35 | Freshman |
Asian | 18 | Freshman |
Others | 5 | Freshman |
|
|
|
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