17.2 Adding basic components

  • points(xcoords,ycoords): Adds points
  • lines(xcoords,ycoords): Adds lines
  • abline(): Adds a straight line (e.g.┬áregression line, ?abline)
    • e.g. abline(h=10) or abline(v=5)
    • h = horizontal, v = vertical
  • text(): Adds text
    • e.g. text(xcoords,ycoords, labels="Enter Text here")