Description Usage Arguments Value
View source: R/append_2_prepend.R
Move string at end of column name to beginning
1 | append_2_prepend(df, string, sep = "_")
|
df |
Dataframe |
string |
String at end to move to beginning |
sep |
String to insert between prepended string and rest of variable name |
Data frame with corrected column names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.