R/NA2str.R

NA2str <- function(x) {
    ifelse(is.na (x) & !is.nan (x), " NA", as.character(x))
} # NA2str

Try the cwhmisc package in your browser

Any scripts or data that you put into this service are public.

cwhmisc documentation built on May 1, 2019, 7:55 p.m.