Skip to contents

Standardize empty strings (""), character NAs ("NA"), and NULL values inside a character vector to NA_character_. Other atomic data types are returned unmodified.

Usage

sanitizeNa(object, ...)

Arguments

object

Object.

...

Additional arguments.

Value

Modified object. Sanitized to contain proper NA values.

Examples

showMethods("sanitizeNa")
#> Function: sanitizeNa (package AcidGenerics)
#> <No methods>
#>