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

TMiguelT/histdat documentation built on Dec. 18, 2021, 4:03 p.m.