convert_to_na: Convert to NA

Description Usage Arguments Value Examples

View source: R/convert_to_na.R

Description

Converts specified values in a vector to NA's.

Usage

1
convert_to_na(x, value)

Arguments

x

a vector to recode

value

the value of x to recode as NA

Value

a vector with values recoded to NA

Examples

1
convert_to_na(x = c(1,2,3,4), value = 4)

aftonsteps/rdew documentation built on Dec. 18, 2021, 11:21 p.m.