drop_values: Drop values from a variable.

Description Usage Arguments

View source: R/drop_values.R

Description

Drop values from a variable.

Usage

1
drop_values(x, values, to_na = TRUE)

Arguments

x

vector. The vector to drop values from.

values

list. A list of values to drop.

to_na

logical. If to_na is FALSE, values will be fully dropped instead of converted to NA.


peterhurford/surveytools2 documentation built on Feb. 18, 2021, 9:13 p.m.