Assignment 1due Tuesday Sept. 10, 2007 at the beginning of the cla ss.1. For the first problem you need to figure out how to input data into R.Read the documentation on the functions read.table() and read.csv().(a) Using Excel create a table like in the Figure 1. Save the file as acomma separated (csv file). Use the functions in R you have readabout to input the numbers in R. Make sure you understand the“header” optionFigure 1: Excel file1(b) From the CD accompanying the textbook find the file that con-tains the data in Table 1.9 from the book. Part of this assignmentis to actually find and figure out yourself how to import the datainto R.2. For this problem you will need to use the data input in the problemabove or a piece of paper and a crayon. It will be much easier using R.Refer to problem 1.37 in your textbook (page 38) for this problem.(a) Answer part (a) of the problem 1.37 in the book.(b) Answer parts (b) (c) and (d) of the problem replacing stemplotswith histograms. In part (d) create histograms on top of eachother instead of back to back stemplots. Consult your R manualabout how to do this. Output and include the images with yourassignment. Alternately, using a calculator answer these pointsand create histograms
View Full Document