drop_obs_if {explore}R Documentation

Drop all observations where expression is true

Description

Drop all observations where expression is true

Usage

drop_obs_if(data, expr)

Arguments

data

Data frame

expr

Expression

Value

Data frame

Examples

drop_obs_if(iris, Species == "setosa")
drop_obs_if(iris, Sepal.Length < 5 | Sepal.Length >7)

[Package explore version 1.3.0 Index]