slice_data: Slice data with user-specified expression
Description
Slice data with user-specified expression
Usage
slice_data(dataset, expr = NULL, drop = TRUE)
Arguments
- dataset
Data frame to slice
- expr
Expression to use select rows from the specified dataset
- drop
Drop unused factor levels after filtering (default is TRUE)
Details
Select only a slice of the data to work with