rvsimapply: Apply a Function to Columns of the Matrix of Simulation of a Random Vector
Description
rvsimapply
Usage
rvsimapply(x, FUN, ...)
Arguments
x
an object
FUN
...
further arguments passed to the function FUN
Value
A numeric vector or array.
Details
rvsimapply applies a given function to
the rows of the simulation matrix of the given random vector.
If the function is to be applied to rows of the simulation matrix,
use simapply or mapply.rv instead.
Usually used in functions that implement an 'rv'-compatible routine.
References
Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.