Modify unit abbreviations
unit_modify.Rd
Modify unit abbreviations
Usage
unit_modify(x, unit, outtype, magnitude = magnitude_order(x))
Arguments
- x
num
The maximum number in the dataset- unit
chr
Type of units, supported values are:AF, F, $, W, MW
- outtype
chr
The type of output to be added. Current possibilities are:begin, end, abbrev, unit_eng
- magnitude
num
The order of magnitude for the unit. The highest triplet will be used. Seemagnitude_triplet
See also
unit_modify_vec
Other rounding:
magnitude_order()
,
magnitude_triplet()
,
num2str()
,
num2str_vec()
,
num_chr_suffi
,
round_to()
,
size()
,
unit_find()
,
unit_modify_vec()
,
unit_string()