Learn R Programming

radiant.data (version 1.6.2)

slice_data: Slice data with user-specified expression

Description

Slice data with user-specified expression

Usage

slice_data(dataset, expr = NULL, drop = TRUE)

Value

Sliced data frame

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