Ops.ValueWithUncertainty | R Documentation |
Ops
Summary of Value with Uncertainty Export Functions
## S3 method for class 'ValueWithUncertainty'
Ops(e1, e2)
## S3 method for class 'ValueWithUncertainty'
Summary(..., na.rm = FALSE)
e1 |
Parameter definition tbc |
e2 |
Parameter definition tbc |
Ops
Boolean operators drop the uncertainty (showing a warning once) and operate on the
numeric values.
Any ValueWithUncertainty
operand is automatically coerced to numeric
with no uncertainty.
Summary
The methods all
and any
are not supported for ValueWithUncertainty
objects and fail with an informative message. min
, max
(and
range
) return the minimum or (and) maximum of the CI
tbc output from function
TBC
TBC
y <- ValueWithUncertainty(1, 10, 100)
x / sqrt(y) + y * sin(x)
# numeric values automatically coerced this type to numeric and drop
# uncertainty
x^2
# boolean operators drop uncertainty
y > x
c(min(x), max(x))
range(x)
sum(y)
prod(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.