In the last lesson, we saw how to use qplot to map symbol colour to a categorical variable. Now we see how to control symbol colours and create legend titles.
[Read more…] about R Graphics: Plotting in Color with qplot Part 2
qplot
R Graphics: Plotting in Color with qplot
In this lesson, let’s see how to use qplot to map symbol colour to a categorical variable.
Copy in the following data set (a medical data set relating to patients in a randomised controlled trial):