[R] Getting rows from a dataframe
Philipp Pagel
p.pagel at gsf.de
Thu Oct 9 18:51:35 CEST 2003
> Sorry if this is a silly question. I'm trying to extract all elements
> of a dataframe at a particular row.
How about
df[12, ]
to get row number 12?
> I can find no mention of this in any documentation
You must have different documentation than me ....
Subsetting is described on the first couple of pages of pretty much
every introducory manual.
cu
Philipp
--
Dr. Philipp Pagel Tel. +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1
85764 Neuherberg, Germany
More information about the R-help
mailing list