Below is a sample of the times (in minutes) 12 people waited in line to buy coffee:
5 5 10 8 7 1 6 2 8 7 12 13
Please use R to read in data as a vector.
h-i) Report the summary from the R output.
h-ii) Using R, draw the boxplot of this data (you may use boxplot( ) command). Include the R code and the resulting boxplot in your answer.
Please use R to read in data as a vector.
data is read into a vector x
> x=c(5,5,10,8,7,1,6,2,8,7,12,13)
> x
[1] 5 5 10 8 7 1 6 2 8 7 12 13
h-i) Report the summary from the R
output.
> summary(x)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.0 5.0 7.0 7.0 8.5 13.0
h-ii) Using R, draw the boxplot of this data (you may use boxplot( ) command). Include the R code and the resulting boxplot in your answer.
>boxplot(x)
Get Answers For Free
Most questions answered within 1 hours.