R/rpt.R

Defines functions rpt

Documented in rpt

#' rpt()
#'
#' remove punct/text and get only number
#'
#' @export
rpt <- function(string){
  return(trimws(gsub("[[:alpha:]]","",gsub("[[:punct:]]","",string))))
}
nbarsch/pineium documentation built on July 12, 2022, 11:40 p.m.