View source: R/utils_justify.R
Justify a character vector of numbers using a character to pad strings on the left and right sides
1 2 3 4 5 6 |
input_vec |
Input vector. Coerced to character. |
justify_mode |
Mode to use for justifying a vector of values. Can be "l" (left), "c" (center), "r" (right), or "d" (decimal). |
decimal |
Character to justify around when justify_mode = "decimal" |
justify_char |
Character (or string) used to pad strings. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.