crunch (version 1.27.7)

dropRows: Permanently delete rows from a dataset

Description

Permanently delete rows from a dataset

Usage

dropRows(dataset, expr)

Arguments

dataset

a CrunchDataset

expr

a CrunchLogicalExpr

Value

dataset without the rows indicated by expr

See Also

exclusion for a non-destructive way to suppress rows

Examples

Run this code
# NOT RUN {
ds <- dropRows(ds, ds$gender == "Male")
# }

Run the code above in your browser using DataCamp Workspace