Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


genvar (version 0.0.2.0)

dropif: drops rows from the dataset

Description

drops rows from the dataset

Usage

dropif(x)

Arguments

x

a condition like var1==2 describing the observations that should be removed from the data set.

Value

returns NULL, invisibly

Examples

Run this code
# NOT RUN {
use(cars, clear=TRUE)
listif()
dropif(speed <= 20)
listif()
# }

Run the code above in your browser using DataLab