Learn R Programming

crunch (version 1.9.4)

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
ds <- dropRows(ds, ds$gender == "Male")

Run the code above in your browser using DataLab