Re: [R] plot of different groups

2016-02-29 Thread Bert Gunter
... and if this is homework (it looks like it), you should know that there is a no homework policy on this list. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" com

Re: [R] plot of different groups

2016-02-29 Thread Boris Steipe
You need to pass a suitably constructed vector of color values to plot() via the parameter "col". Read the section on "Color Specification" for the par() function for details. Also read up on the parameter "pch" for which symbol to use, a filled circle will usually work well. See the help for po

[R] plot of different groups

2016-02-29 Thread Partha Sinha
I have the following fields in table: height, weight, gender i want to plot height and weight of gender(males and females). The data points needs to be marked in two different colors. Regards parth [[alternative HTML version deleted]] __ R-help@