format_range | R Documentation |
Format the range (i.e., minimum and maximum) from a vector for inclusion in a text document with or without parentheses.
format_range(x, parentheses = TRUE)
x |
A vector of numeric values. |
parentheses |
A logical value specifying if you want the value returned to be wrapped in parentheses or not. By default, they are included. |
todo: Format the range values to have a given number of digits if users are not using it for just a year range.
A formatted character string.
Kelli Faye Johnson
format_range(1:12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.