Math.rv: Mathematical functions and Operators for rv Objects
Description
Mathematical functions and operators adapted to work with random variable
(rv) objects.
Usage
# S3 method for rv
Math(x, ...)
# S3 method for rv
Ops(e1, e2 = NULL)
Arguments
x
object
…
further arguments passed to or from other methods
e1
object
e2
object
Details
The operator method preserves the names of the longer vector (or those of
the first if the lengths match).
References
Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing
Posterior Simulations Using Random Variable Objects. Statistics and
Computing 17:3, 235-244.