Question: Write a function which will assign grades for the courses with respect to the exam score obtained: Score 9 0 % grade 5 Score 8
Write a function which will assign grades for the courses with respect to the exam score obtained:
Score grade
Score grade
Score grade
Score grade
Score grade
Score grade
Then, using the following piece of code roundrand generate twenty random score values note they will range between and and calculate their respective grades using your function. Calculate the mean grade.
Then plot them as points, in such a way that x axis contains just given score's index location in the score vector and y axis contains the grade value, buteach of the six grade categoriesis shown with adistinctmarker style. Incluse a horizontal line representing the overall mean grade.
I need the answer in r code please.
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
