dropif: drops rows from the dataset

Description Usage Arguments Value Examples

Description

drops rows from the dataset

Usage

1
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

1
2
3
4
use(cars, clear=TRUE)
listif()
dropif(speed <= 20)
listif()

genvar documentation built on Jan. 21, 2020, 9:07 a.m.