rv (version 2.3.4)

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 rv
quantile(x, ...)

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, 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

Run this code
# NOT RUN {
  x <- rvnorm(30)
  quantile(x)

# }

Run the code above in your browser using DataCamp Workspace