[R] how to keep row name if there is only one row selected from a data frame

agent dunham crosspide at hotmail.com
Wed Nov 23 15:48:38 CET 2011


I've manged this way: 

df2 <- df1[-match(784, row.names(df1)), ]

Isn't there any other way?? How can I retrieve/delete three rows with the
same command line?user at host.com



--
View this message in context: http://r.789695.n4.nabble.com/how-to-keep-row-name-if-there-is-only-one-row-selected-from-a-data-frame-tp895594p4099896.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list