# Example 1 # make a very simple plot x < c(1,3,6,9,12) y < c(1.5,2,7,8,15) plot(x,y) 

# Example 2. Draw a plot, set a bunch of parameters. plot(x,y, xlab="x axis", ylab="y axis", main="my plot", ylim=c(0,20), xlim=c(0,20), pch=15, col="blue")
# fit a line to the points
# get information about the fit
# draw the fit line on the plot 

# Example 3 # add some more points to the graph x2 < c(0.5, 3, 5, 8, 12) y2 < c(0.8, 1, 2, 4, 6) points(x2, y2, pch=16, col="green") 