like gsub but keep a factor as factor

gsub2(x, ...)

Arguments

x

a vector

...

les parametres de la fonction gsub

Value

a vector