Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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