Hello Everyone,
I have a data frame with 2 columns as shown at the end of this mail. I want to plot the data in column A; however I want the data-points in column A to be of different color based on conditions in column B. i.e all data in column A corresponding to value 0 in column B should be red. Similarly all values in column A corresponding to value 2 in column B should be green. Any suggestions or help in this regard. Best, Bhaskar A B 12 0 11 1 23 2 34 0 45 1 67 3 … .. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.