R/l_tools.R
gsub.data.frame.Rd
Gsub applied on a data.frame
gsub.data.frame(pattern, replacement, x, ...)
search pattern
a replacement for matched pattern
your data.frame
additional arguments for gerpl()
a data.frame
matrix(letters[1:6], 2, 3) |> as.data.frame() -> a gsub.data.frame("c", "a", a) #> V1 V2 V3 #> 1 a a e #> 2 b d f