View source: R/getDescriptionStatsBy_prAddDescUnitColumn.R
prAddDescUnitColumn | R Documentation |
Add a units column to the results
prAddDescUnitColumn(results, x, use_units, units_column_name)
results |
The results that we want to add the column to |
x |
If a data.frame it will be used as the data source for the variables in the |
use_units |
If the Hmisc package's units() function has been employed
it may be interesting to have a column at the far right that indicates the
unit measurement. If this column is specified then the total column will
appear before the units (if specified as last). You can also set the value to
|
units_column_name |
The name of the units column. Used if use_units = TRUE |
results with added column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.