add_colname_unit | R Documentation |
add_colname_unit Add units to target colnames usually right before display uses (datatable, download, etc.)
add_colname_unit(data, colnames, unit)
data |
the input data containing the colnames on which to append unit. |
colnames |
the colnames, as string or with tidyselect syntax, on which to append units |
unit |
the unit to append to 'colnames' wrapped in brackets |
dataframe with renamed columns (units added)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.