R/AftEr_myfUn.R

Defines functions AftEr_myfUn

AftEr_myfUn <- function(x, pa = FALSE) {
  x <- as.character2(x)
  if (length(x) == 0) {
    return("")
  }
  else {
    x[is.na(x)] <- ""
    if (pa) {
      if (length(x) > 1) {
        x <- paste0(x, collapse = " ")
      }
    }
	x <- whetherencode(x)
    return(x)
  }
}

Try the chinese.misc package in your browser

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

chinese.misc documentation built on Sept. 13, 2020, 5:13 p.m.