powered by
Pulls all rows with duplicates in a column, not just the duplicate row. Author: Bryce Chamberlain.
drows(x, c, na = FALSE)
Rows from the data frame in which the column is duplicated.
Data frame.
Column as vector or string.
Consider multiple NAs as duplicates?
ddt = bindf( cars, utils::head( cars, 10 ) ) drows( ddt, 'speed' )
Run the code above in your browser using DataLab