Convert '.' values into missing values.
replace_dots(x)
A character vector with '.' replaced by NA values.
Often good to use for nonmem preprocessing as missing values are represented with '.' in NONMEM.
x <- c(".", "1", "1")
replace_dots(x)
#> [1] NA "1" "1"