R/clean_colnames.R

Defines functions clean_colnames

clean_colnames<-function(x){
  colnames(x)<-gsub('\\(','',colnames(x))
  colnames(x)<-gsub('\\^','',colnames(x))
  gsub('\\)','',colnames(x))
}

Try the mgwrsar package in your browser

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

mgwrsar documentation built on April 4, 2025, 3:13 a.m.