quantile,HistDat-method {HistDat}R Documentation

Returns the empirical quantiles of the observations represented by this class

Description

Returns the empirical quantiles of the observations represented by this class

Usage

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

Arguments

x

An instance of the class HistDat

...

Remaining arguments to pass to stats::quantile()

Examples

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

[Package HistDat version 0.2.0 Index]