Constructor of xlr_numeric
Usage
new_xlr_numeric(
x = double(),
dp = 0L,
scientific = FALSE,
style = xlr_format_numeric(),
call = caller_env()
)
Arguments
- x
For
xlr_numeric()
: A numeric vectorFor
is_xlr_numeric()
: An object to testFor
as_xlr_numeric()
: a vector
- dp
the number of decimal places to print
- scientific
logical. Whether to format the numeric using scientific notation.
- style
Additional styling options for the vector. See xlr_format_numeric for more details.
- call
the calling environment