formatted_range {photobiology} | R Documentation |
Compute range and format it
Description
Compute the range of an R object, and format it as string suitable for printing.
Usage
formatted_range(x, na.rm = TRUE, digits = 3, nsmall = 2, collapse = "..")
Arguments
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 |
See Also
Examples
formatted_range(c(1, 3.5, -0.01))
[Package photobiology version 0.11.2 Index]