Question: Problem 2 MRH Exercise 2-14. You may use software to draw the plot. If you do this by hand, use the first 3 digits as

Problem 2 MRH Exercise 2-14. You may use software to draw the plot. If you do this by hand, use the first 3 digits as the stem (e.g. 5408 yields a stem=540 and a leaf=8). To complete the exercise in R, you can do the following: 1) Save the data from the textbook to a text file, e.g. ex2-14.txt - one column, no header; or download it from one of the locations mentioned in "General Notes" section. Place this file in the current R working folder (issue the command getwd() to know where). 2) Use the following commands: ex2.14=scan ("ex2-14.txt") # read the data stem(ex2.14, scale=2) # stem-and-leaf plot, scale=1 has fewer stems Problem 2 MRH Exercise 2-14. You may use software to draw the plot. If you do this by hand, use the first 3 digits as the stem (e.g. 5408 yields a stem=540 and a leaf=8). To complete the exercise in R, you can do the following: 1) Save the data from the textbook to a text file, e.g. ex2-14.txt - one column, no header; or download it from one of the locations mentioned in "General Notes" section. Place this file in the current R working folder (issue the command getwd() to know where). 2) Use the following commands: ex2.14=scan ("ex2-14.txt") # read the data stem(ex2.14, scale=2) # stem-and-leaf plot, scale=1 has fewer stems
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
