rvexp: Generate Random Vectors from an Exponential Sampling Model

Description Usage Arguments Details Author(s) References Examples

Description

rvexp

Usage

1
  rvexp(n=1, rate = 1)

Arguments

n

integer: number of variables to generate

rate

prior distribution for the rate parameter (constant or random)

Details

rvexp

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
  y <- rvexp(1, rate=rvexp(1)) # What marginal distribution does y have now?


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.