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/rstardew documentation built on Oct. 11, 2021, 1:35 a.m.