drows | R Documentation |
Pulls all rows with duplicates in a column, not just the duplicate row. Author: Bryce Chamberlain.
drows(x, c, na = FALSE)
x |
Data frame. |
c |
Column as vector or string. |
na |
Consider multiple NAs as duplicates? |
Rows from the data frame in which the column is duplicated.
ddt = bindf( cars, utils::head( cars, 10 ) )
drows( ddt, 'speed' )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.