missing_to_na: Convert a value to NA

Description Usage Arguments Value Examples

View source: R/utils.r

Description

Convert a value considered to be an missing value to the standard NA

Usage

1

Arguments

x

a vector, matrix or a data frame

missing

a non-standard missing value

Value

an object where a non-standard missing value is replaced by NA

Examples

1
2
x = c("foo", "bar", "missing")
phyloRNA:::missing_to_na(x, "missing")

bioDS/phyloRNA documentation built on Feb. 21, 2022, 3:28 p.m.