
Last chance! 50% off unlimited learning
Sale ends in
drops rows from the dataset
dropif(x)
a condition like var1==2
describing the observations that should be removed from the data set.
returns NULL, invisibly
# NOT RUN {
use(cars, clear=TRUE)
listif()
dropif(speed <= 20)
listif()
# }
Run the code above in your browser using DataLab