Learn R Programming

rv (version 0.949)

quantile.rv: Distribution of a Quantile of a Random Vector

Description

quantile.rv returns the distribution of the quantile of a random vector (as a random variable).

Usage

## S3 method for class 'rv':
quantile(x, \dots)

Arguments

x
an object
...
further arguments passed to or from other methods

Value

  • A random vector (rv object) with components giving the distribution of the desired quantiles.

References

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

Examples

Run this code
x <- rvnorm(30)
  quantile(x)

Run the code above in your browser using DataLab