View source: R/photobio-utils.R
formatted_range | R Documentation |
Compute the range of an R object, and format it as string suitable for printing.
formatted_range(x, na.rm = TRUE, digits = 3, nsmall = 2, collapse = "..")
x |
an R object |
na.rm |
logical, indicating if |
digits, nsmall |
numeric, passed to same name parameters of
|
collapse |
character, passed to same name parameter of |
range
, format
and
paste
.
formatted_range(c(1, 3.5, -0.01))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.