[R] Simple conditional plot

David Winsemius dwinsemius at comcast.net
Fri Jul 8 17:41:48 CEST 2011


On Jul 8, 2011, at 10:55 AM, rstudent wrote:

> I just started using R last week.
>
> I have a dataset with 3 columns - Plate, Well and Raw
>
> I need to make a simple plot(Well~Raw) but only when Plate = 101

?subset

# Some plotting paradigms allow you to use a subset = <argument> but  
any  program that had a data= option would allow data=subset(dfrm,  
Plate==101)

newseRs:  Remember to use double "=="'s

>
> Thanks for your help.
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Simple-conditional-plot-tp3654300p3654300.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list