R/removeNumbers.R

Defines functions removeNumbers

Documented in removeNumbers

#' A preprocess Function
#'
#' This function allows you to remove special characters and number.
#' @param x Any string.
#' @keywords removeNumbers
#' @export
#' @examples
#' removeNumbers()


 removeNumbers = function(x) { 
     ret1 = gsub("http:[a-zA-Z\\/\\.0-9]+|[a-zA-Z]+|[ 0-901-23456789]","",x) 
     ret1
 }
rogerjms/tmcmbc documentation built on May 6, 2019, 6:06 p.m.