Learn R Programming

rv (version 0.949)

rvmedian: Medians of the Components of a Random Vector

Description

rvmedian

Usage

rvmedian(x, ...)

Arguments

x
an rv object
...
further arguments passed to median

Value

  • A numeric vector of the same dimension as x.

Details

rvmedian applies median to the simulations of each component of x.

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

See Also

rvmin, rvmax, rvmean.

Examples

Run this code
#

Run the code above in your browser using DataLab