2. Create a pdf plot (you might want to use a function) to display all of the point characters (i.e., pch=1 to pch=25). Label each of them with their number. The way I would do this is by using plot() to set up my axes (set the type to be a blank plot, and use xlim and ylim to set the axis limits), then I would use points() to put the different pch’s on the plot, and then text() to label them.
3. Read in the data set “hw7.dat”. In a pdf file, using a full page, plot a histogram of each variable, i.e, the top third of the page will be a histogram of x1, the middle third, a histogram of x2, and the bottom third, a histogram of x3. Use the same axis limits for all three plots. Label all of the y axes but only the x-axis of the bottom plot. Title each plot. Use a different color of diagonal lines to color in the bars of each histogram. Adjust the number of bins in the histogram, so that it reveals the shape of the data.
4. In a win.metafile, plot x1 versus x2, x1 versus x3, x2 versus x3, and (x1+x2) versus x3, arranged in 2 rows and 2 columns. Label everything and make it aesthetically pleasing.
Recently Asked Questions
- 1. Do you think that globalization affects the overall health situation of your country? How?
- In what ways was American slavery an eminently modern system? How is American capitalism a direct descendant American slavery?
- What is an example of an equivalence relation that is defined on a particular set. What is the set and how the equivalence relation is defined. How do one