quantile-HistDat-method: Returns the empirical quantiles of the observations...

Description Usage Arguments Examples

Description

Returns the empirical quantiles of the observations represented by this class

Usage

1
2
## S4 method for signature 'HistDat'
quantile(x, ...)

Arguments

x

An instance of the class HistDat

...

Remaining arguments to pass to stats::quantile()

Examples

1
2
hd <- HistDat(vals = 1:3, counts = c(1, 2, 1))
quantile(hd, 0.1) # returns 1.3

HistDat documentation built on April 6, 2021, 9:08 a.m.