[R] subset on data frame
lj22 at u.washington.edu
Sat Nov 20 01:54:44 CET 2004
I have a data frame. And I'd like to subset according to rownames.
subset(mydataframe, rownames(mydataframe) == myrow, select = mycols)
it turned out that "myrow" cannot be a vector. But I have multiple rows to
pick. Is there a way to get around this problem??
Thank you for your help!!
Department of Chemsitry
University of Washington
Seattle, WA 98195
More information about the R-help