Question: Write an R script to answer the following questions: Create a vector called studentsID that consists of 2 0 distinct numbers between 1 3 0
Write an R script to answer the following questions:
Create a vector called studentsID that consists of distinct numbers between and
Create another vector called studentAges that consists of random numbers between and
Display both lists
Find the mean, median, oldest and youngest age represented
List each student and the students corresponding age
Print a list of the ages represented
Print a list of the ages not represented
Print a list of ages that are duplicated
Print a list of the ages not represented
Print a list of all students ages older than
Print a list of students between and
Create a bar chart of the ages add appropriate labels, colors
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
