Skip to content
Prev 257233 / 398506 Next

altering identity column

On Apr 18, 2011, at 9:02 AM, Bodnar Laszlo EB_HU wrote:

            
I am guessing that what you want is something like

dfrm2 <- transformed_dataframe[rownames(transformed_dataframe) >=  
"60001" , ]

Or perhaps (if you carrying the thousands separator into the rownames:

dfrm2 <- transformed_dataframe[rownames(transformed_dataframe) >=  
"60,001" , ]

Or if you are using spaces then:

dfrm2 <- transformed_dataframe[rownames(transformed_dataframe) >= "60  
001" , ]

This would involve much less guessing if you offered the results of:

  str(transformed_dataframe)
rownames(transformed_dataframe) <- 1:10000
David Winsemius, MD
West Hartford, CT