drop_obs_if: Drop all observations where expression is true

View source: R/drop.R

drop_obs_ifR 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)

explore documentation built on Sept. 11, 2024, 7:40 p.m.