int_spacer | R Documentation |
Round a number to the nearest integer and format according to WHO style guide. This means using non-breaking spaces as thousands separators, but don;t do that for numbers between 1000 and 9999
int_spacer(x)
x |
A number to be rounded and spaced |
A string
int_spacer(2.4)
int_spacer(24.5)
int_spacer(9876)
int_spacer(1234567.8)
int_spacer(c(123456, 7890123))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.