R/cum_gsub.R

Defines functions cum_gsub

cum_gsub<-function(patterns,replacemets,string){
Map(function(x,y){string<<-gsub(x,y,string)},
x=patterns,
y=replacemets
)   
return(string)    
}
JARS3N/LiveLongAndProsper documentation built on June 21, 2020, 12:49 p.m.