Marinstatslectures

Like Us on FacebookFollow Us on TwitterSubscribe to Us on Youtube!Join Us on Google+

Adding Legends to Plots in R: (R Tutorial 2.10)

In this video, you will learn how to add a legend to plots made in R and change the symbols and/or characters used in the legend as well as the look and location of the legend.

We will show you how to use the "legend" command, and the "fill", "col", "bty", "pch" and "lty" arguments. 

We recommend using the link below to download the dataset and practice on your own while watching this tutorial.

 

 You can access and download the dataset that was used in this tutorial here:

  Dataset-Icon-Tab2 Dataset-Icon-excel3

Previous Video in Series 2 R TutorialsBack to Series 2 R Tutorials