[R] filtering lines in a table

Alexandre Fayolle Alexandre.Fayolle at free.fr
Sun Dec 10 09:55:28 CET 2000



Douglas Bates a écrit :
> 
> Alexandre Fayolle <Alexandre.Fayolle at free.fr> writes:
> 

> The "subset" argument allows you to specify an expression that
> determines the subset of interest.  You would use something like
> 
>  boxplot( X ~ A, data = table, subset = B =="Bvalue" )

Yes, it works great, thanks to all who sent in an answer on this one.


> By the way, it is not a good idea to call the data "table" because
> there is a function called table that may need to be used in boxplot.

Right, point taken. Actually the data is not called "table", but a
complicated french name, so I used "table" in the email just to ease
understanding.

Alexandre


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list