info_unit_conversions {gt} | R Documentation |
View a table with all units that can be converted by unit_conversion()
Description
unit_conversion()
can be used to yield conversion factors across compatible
pairs of units. This is useful for expressing values in different units and
the conversion can be performed via the scale_by
argument available in
several formatting functions. When calling unit_conversion()
, one must
supply two string-based keywords to specify the value's current units and the
desired units. All of these keywords are provided in the table shown by
calling info_unit_conversions()
.
Usage
info_unit_conversions()
Value
An object of class gt_tbl
.
Examples
Get a table of info on all the available keywords for unit conversions.
info_unit_conversions()
Function ID
11-9
Function Introduced
v0.11.0
See Also
Other information functions:
info_currencies()
,
info_date_style()
,
info_flags()
,
info_google_fonts()
,
info_icons()
,
info_locales()
,
info_paletteer()
,
info_time_style()