Q:

How to color-code plotted points in R

I have a simple data.frame as follows:
    status   age   score
    0        34    90
    0        56    70
    1        44    69 
    0        53    88
    1        54    44

Then I plotted score against age
   plot(age, score)

My question is how do I color code the points respective to their status? 

A:

Obligatory ggplot solution:
gg <- ggplot(dat, aes(x=age, y=score, color=factor(status)))
gg <- gg + geom_point(size=3)
gg <- gg + theme_bw()
gg

