Cut and paste the following code into R.
barplot(c(1,4,3,0.5),c(20,20,30,30),space=0,
col=c("white","gray","white","white"),
main="Histogram of Exam Scores", xlab="Score Points")
axis(1)
Look at the generated picture.
If there were 150 students taking the Exam, how many
scored between 20 and 40 points?
|