View source: R/append_prefix_to_colnames.R
append_prefix_to_colnames | R Documentation |
add a string to beginning of all the column names
append_prefix_to_colnames(data, prefix)
data |
data.frame that contains the column names to change with a prefix |
prefix |
string to add to the beginning of all of the column names of the data.frame |
data.frame with new column names with prefix string appended to the column names
# to be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.