R/Cnames.r

#----------------------------------------------------------------------------#
#' @title Character names
#' @description Return a list of a Character variables
#' @param x a dataframe to deal with
#' @export
Cnames = function (x)
{
  clist <- sapply(x, is.character)
  clist <- colnames(x[, clist])
  return(clist)
}
RWE-Lab/publishr documentation built on March 8, 2021, 6:33 a.m.