Learn R Programming

crunch (version 1.30.4)

dropRows: Permanently delete rows from a dataset

Description

Permanently delete rows from a dataset

Usage

dropRows(dataset, expr)

Value

dataset without the rows indicated by expr

Arguments

dataset

a CrunchDataset

expr

a CrunchLogicalExpr

See Also

exclusion for a non-destructive way to suppress rows

Examples

Run this code
if (FALSE) {
ds <- dropRows(ds, ds$gender == "Male")
}

Run the code above in your browser using DataLab