[R] Selecting several columns/rows of a dataframe?
Sarah Goslee
sarah.goslee at gmail.com
Wed May 1 22:17:32 CEST 2013
Hi Joel,
I have no idea what you actually want, since there's no context in
your email, but you should probably see:
?"["
for information on how to subset a data frame by rows and/or columns
using either numerical indices or names (if appropriate for the
object).
Sarah
On Wed, May 1, 2013 at 4:04 PM, Joel Prokopchuk <joelproko at gmail.com> wrote:
> Sorry, the use of rows/columns I found so far was rather
> contradictive, both refering to what can be gotten via subset()
> instead of what I'm looking for.
> Is there a way to get multiple colums/rows? Something like
> corpus.df${mph,mgl,eng}
> Thanks in advance for any answers.
> --
> Joel Prokopchuk
>
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list