[R] Plot with Group # as pch

David Winsemius dwinsemius at comcast.net
Tue Sep 14 00:00:31 CEST 2010


On Sep 13, 2010, at 5:48 PM, Kevin Burnham wrote:

> Hi All,
> I am trying to plot per cent correct scores (column name =PerCorr)  
> for each
> of about 40 subjects.  I would like the character representing each  
> score to
> be a number between 0 and 4 depending on the subject's group (from the
> column Subject.Group).

You can use text(x,y,   labels=    ) for the plotting ... once you  
have a working example that is.

> Also, I would ideally be able to order the data by Subject.Group  
> first so
> that all of group 0 is to the far left of the graph and all of group  
> 4 to
> the far right.
> Thanks,
> Kevin


David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list