gsub.data.frame | R Documentation |
Gsub applied on a data.frame
gsub.data.frame(pattern, replacement, x, ...)
pattern |
search pattern |
replacement |
a replacement for matched pattern |
x |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.