rvsimapply: Apply a Function to Columns of the Matrix of Simulation of a...

Description Usage Arguments Details Value Author(s) References Examples

Description

rvsimapply

Usage

1
rvsimapply(x, FUN, ...)

Arguments

x

an object

FUN

an R function object

...

further arguments passed to the function FUN

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 rvmapply instead.

Usually used in functions that implement an 'rv'-compatible routine.

Value

A numeric vector or array.

Author(s)

Jouni Kerman jouni@kerman.com

References

Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.

See also vignette("rv").

Examples

1
  #


Search within the rv package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.