[R] Selecting several columns/rows of a dataframe?
ruipbarradas at sapo.pt
Wed May 1 22:37:41 CEST 2013
corpus.df[, c("mph", "mgl", "eng")]
Hope this helps,
Em 01-05-2013 21:04, Joel Prokopchuk escreveu:
> 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
> Thanks in advance for any answers.
> Joel Prokopchuk
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help