Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The UCBAdmissions is an r built-in data frame has 24 rows and 4 columns. It is an aggregate data on applicants to graduate school at
The"UCBAdmissions"is an r built-in data frame has 24 rows and 4 columns. It is an aggregate data on applicants to graduate school at Berkeley for the six largest departments in 1973 classified by admission and sex.
You can read it by converting it into tibble using the following line of code:
UCB= as_tibble(UCBAdmissions)
Use "UCB" tibble created above and write r code to do the following:
- Count the number of admitted and rejected students
- Count the number of male and female students
- Calculate the mean of the "n" value.
- Convert Admit, Gender, Dept columns into factors.
- Plot the boxplot of Freq for each Dept.
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