Another possibility without using subset():
plot(Well[][Plate==101]~Raw[][Plate==101])
This also works to '>=' '<=' and other conditions.
--
View this message in context:
http://r.789695.n4.nabble.com/Simple-conditional-plot-tp3654300p3654666.html
Sent from the R help mailing list archive at
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 = but
any program that had a
Try
plot(Well~Raw, subset= Plate==101)
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of rstudent
Sent: Friday, July 08, 2011 8:56 AM
To: r-help@r-project.org
Subject: [R] Simple conditional plot
I just started using R last week
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
Thanks for your help.
--
View this message in context:
http://r.789695.n4.nabble.com/Simple-conditional-plot-tp3654300p3654300.html
Sent from
4 matches
Mail list logo