Displaying 1 result from an estimated 1 matches for "educationyears".
2009 May 23
2
how to adding colors to data points in scatter plot in R?
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-da...