View source: R/prettyIntegers.R
prettyIntegers | R Documentation |
Compressed formating of an integer vector.
prettyIntegers(x, force = FALSE, collapse = ", ", sep = "...")
x |
An integer vector. |
force |
Logical: If TRUE the new string should be returned regardless of whether it has more characters than the original. |
collapse |
The string to separate numbers by. |
sep |
The string to separate numbers by when printing ranges. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.