-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Would it make sense to support integer indices in filter. Something like this:
> mtcars %.% group_by(cyl) %.% filter(1:3)
> mtcars %.% group_by(cyl) %.% filter(sample(n(), 10))
Perhaps it is another verb though ?
Would help for this question: http://stackoverflow.com/questions/21255366/sample-dataframe-with-dplyr
This is related to: #202 but not completely.
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement