inst/ex/ex-label-mx.R

# rendered directly (rather than via scales::demo_continuous()) because
# several locales' group/currency signs aren't in the check device's font
label_number_mx()(c(-1e6, 0, 1e6))
label_percent_mx(accuracy = .01)(c(-1, 0, 1))
label_currency_mx(accuracy = .1)(c(-1e6, 0, 1e6))

Try the countryscales package in your browser

Any scripts or data that you put into this service are public.

countryscales documentation built on Sept. 29, 2026, 5:09 p.m.