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