Q {musica}R Documentation

Convenience function for calculation of quantiles

Description

The typical use is in compare to avoid anonymous functions in specification of its fun argument.

Usage

Q(p, ...)

Arguments

p

Specification of the quantile

...

other arguments passed to quantile

Value

function calculating the p-th quantile

Examples

q90 = Q(.9)
class(q90)
q90(rnorm(10))

[Package musica version 0.1.3 Index]