View a table with all units that can be converted by unit_conversion()
Source: R/info_tables.R
info_unit_conversions.Rd
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()
.
See also
Other information functions:
info_currencies()
,
info_date_style()
,
info_flags()
,
info_google_fonts()
,
info_icons()
,
info_locales()
,
info_paletteer()
,
info_time_style()