Question: following code: set.seed ( 1 0 0 ) for reproducibility. Create a vector ( denoted as Grades ) with 1 0 0 elements by using
following code:
set.seed
for reproducibility.
Create a vector denoted as Grades with elements by using runif
Multiply the vector with and use the function round to obtain digits from to
You should obtain the following output:
Grades
table
Let this vector you created denotes the final grades of students on a scale of
Convert this vector to a factor denoted as FactGrades in which grades
denote "Fail";
denote "Barely Passed";
denote "Good Grade";
denotes "Excellent Grade".
You should write a script that obtains
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
