[R] How to filter a data frame?
rlearner309
unixunix99 at gmail.com
Tue Jul 22 22:51:54 CEST 2008
Thank you all!! :-)
rlearner309 wrote:
>
> I have a question about how to filter the data frame:
> Suppose my data frame has variables like gender, age,... How to get a
> subset of the data frame, with only female (or male) and/or age > 50...?
> What is the typical syntax? I tried several condition expressions, but
> none of them worked...
>
> Thanks a lot!
>
--
View this message in context: http://www.nabble.com/How-to-filter-a-data-frame--tp18587502p18598469.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list