replace_nanb_with_na: Replace n.a. (not available) and n.b. (not determined) from...

View source: R/read_lab_bwb.R

replace_nanb_with_naR Documentation

Replace n.a. (not available) and n.b. (not determined) from lab data with NA

Description

Replace n.a. (not available) and n.b. (not determined) from lab data with NA

Usage

replace_nanb_with_na(string)

Arguments

string

string

Value

string with NA instead of "n.a." or "n.b." (including 0-10 spaces between "n" and "a"/"b"

Examples

string <- c("19.2", "n.b.", "n. b.", "n.  b.", "n.a.", "n. a.", "n.  a.")
replace_nanb_with_na(string)

KWB-R/kwb.geosalz documentation built on March 28, 2024, 9:05 p.m.