Skip to content
Prev 371413 / 398513 Next

help matching rows of a data frame

"Label" is not a clear term for data frames,  but most data frames have rownames. If dta is a data frame, not a tibble, 

rownames( dta )[ !duplicated( dta ) ]

Or could use row indexes directly

which( !duplicated( dta ) )