Q: Quantile-alpha of all the values present in its arguments.

View source: R/noNa.r

QR Documentation

Quantile-alpha of all the values present in its arguments.

Description

‘Q’ returns the quantile-alpha of all the values present in its arguments, omitting NA values.

Usage

Q(x, alpha)

Arguments

x

A vector containing numeric values

alpha

A numeric value in 0,1 determining the probability. If alpha=0.5, the function returns the median. If alpha=0.25, the function returns quantile 25%.

Value

A numeric scalar, the quantile-alpha of the inputs


benjaminpeeters/BePe documentation built on July 7, 2022, 5:45 p.m.