R Instructions: Scatterplot

To do that with R, we change the color of the data points representing females to red:

You can make a nicer looking plot with males shown in blue, females in red, and labels telling which is which:

Note: To look up more details about legend(), simply type ?legend into R and press Enter to get the help information about the function.