drop_obs_if | R Documentation |
Drop all observations where expression is true
drop_obs_if(data, expr)
data |
Data frame |
expr |
Expression |
Data frame
drop_obs_if(iris, Species == "setosa")
drop_obs_if(iris, Sepal.Length < 5 | Sepal.Length >7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.