View source: R/utils_justify.R
justify | R Documentation |
Justify a character vector of numbers using a character to pad strings on the left and right sides
justify( input_vec, justify_mode = c("decimal", "left", "center", "right"), decimal = ".", justify_char = " " )
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.