Biology, images, analysis, design...
Use/Abuse Principles How To Related
"It has long been an axiom of mine that the little things are infinitely the most important" (Sherlock Holmes)

Search this site



Just a note

The plot function of R is a highly versatile function - and does not only produce scatterplots.

For example, if you entered plot(Y) instead of plot(X,Y) R would assume you needed a line plot of variable Y.

Because of its versatility, you will find we tend to use the plot function on occasions where you might assume another function - such as the hist function - might be more suitable.

Notice however that, unlike the hist function of R, its plot function does not produce any information for later use. For example, qq=plot(X, Y, main=main, xlab=xlab, ylab=ylab) would not assign any information about that plot to variable qq.