Skip to contents

Coerce numeric values to character, without scientific noting and NA are kept as NA.

Usage

coerce_to_character(x)

Arguments

x

a value to convert

Value

x as character

Examples


coerce_to_character(c("a", NA))
#> [1] "a" NA 
coerce_to_character(c(1, 10000000, NA))
#> [1] "1"        "10000000" NA