powered by
errors
Format an errors object for pretty printing.
# S3 method for errors format(x, digits = NULL, scientific = FALSE, notation = getOption("errors.notation", "parenthesis"), ...)
an errors object.
how many significant digits are to be used for uncertainties. The default, NULL, uses getOption("errors.digits", 1).
NULL
getOption("errors.digits", 1)
logical specifying whether the elements should be encoded in scientific format.
error notation; "parenthesis" and "plus-minus" are supported through the "errors.notation" option.
"parenthesis"
"plus-minus"
"errors.notation"
ignored.
x <- set_errors(1:3*100, 1:3*100 * 0.05) format(x) format(x, digits=2) format(x, scientific=TRUE) format(x, notation="plus-minus")
Run the code above in your browser using DataLab