Learn R Programming

QPBoot (version 0.2)

alphaq: Returns a function to retrieve the \(\alpha\)-quantile from a vector.

Description

To be used in conjunction with apply.

Usage

alphaq(a)

Arguments

a

the quantile level \(\alpha\)

Value

Returns a function that takes an argument x and calculates the \(\alpha\)-quantile from the vector x.

Examples

Run this code

##############################################################################

Run the code above in your browser using DataLab