R/replacecommas.R

Defines functions replaceCommas

Documented in replaceCommas

#' Replace Commas Function
#'
#' This function converts a character representation of a number that contains a comma separator with a numeric value.
#' @keywords read data
#' @export
replaceCommas<-function(x){
  x<-as.numeric(gsub("\\,", "", x))
}
SOC345/lehmansociology documentation built on Sept. 19, 2017, 9:49 a.m.