Skip to main content

3.2) Playing with plot()


Using the data frame created from the file r_data.xls (Section 2), try the following plots:

plot(x=GRASS$Age)
plot(x=GRASS$Age, y=GRASS$Dms)
plot(x=factor(GRASS$Group), y=GRASS$Dms)
plot(factor(GRASS$Group))

Now choose one of the pre-installed datasets that you discovered using data(), and plot something that interests you from it.