[R] how to adding colors to data points in scatter plot in R?

Tim LIU
2009-05-23T05:17:58Z

Does anybody know how to adding colors to data points in scatter plot in R?

I have the following R data frame -

Voter_Name, Education_years, Income, Registered
Ricky, 18, 40000, Y
Lisa, 20, 34000, N
Jon, 10, 35000, Y
...

I am doing a scatter plot in R for those data points - Income vs.
EducationYears.

I would also like to using different colors to differentiate whether that
data point is a Registered Voter or not.

Does anybody know how to adding colors to data points in scatter plot in R?

Thanks in advance!!

--
View this message in context:
http://www.nabble.com/how-to-adding-colors-to-data-points-in-scatter-plot-in-R--tp23681471p23681471.html
Sent from the R help mailing list archive at Nabble.com.