Subject: [R] filtering lines in a table
From: Alexandre Fayolle (Alexandre.Fayolle@free.fr)
Date: Sun 10 Dec 2000 - 05:39:16 EST
Message-ID: <3A328A64.537E129E@free.fr>
Hello,
I realize this is probably a dumb question, but I think there must be an
easy way to do this with R and I was not able to find it in the doc.
I have a table (read from a file with read.table), with two factor
columns, table$A and table$B, and a numerical column, table$X. I wish to
make a boxplot of (table$X ~ table$A) for a given value of B. Is there
a way to express this with a formula, or is it necessary to manually
extract the right lines in the table? In that case, what is the best way
to do so?
Thanks for your help
Alexandre "R newby" Fayolle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b25 : Thu 01 Feb 2001 - 16:14:36 EST