Use a regular expression to rename tables.
The function rename_replace
applies str_replace
to the names of the table,
while rename_replace_all
applies str_replace_all
.
1 | rename_sub(.data, pattern, replacement, all = TRUE)
|
.data |
A data frame |
pattern, replacement |
Pattern and replacement regular expressions.
See |
all |
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.