Question: a ) Use mean ( scores ) to compute the average of the data. Store the expression in the variable avg _ score. b )
a Use meanscores to compute the average of the data. Store the expression in the variable
avgscore.
b Using comparison operators, write the R expression for scores less than or equal to the
mean of the data. Store the expression in the variable belowavg.
c Using comparison operators, write the R expression for scores greater than the mean of the
data. Store the expression in the variable aboveavg.
d Using the sum function, write the R expression for the number of scores less than or equal
to the average of the data. Store the expression in the variable countbelowavg.
e Using the sum function, write the R expression for the number of scores greater than the
average of the data. Store the expression in the variable countaboveavg
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
