powered by
Returns the empirical quantiles of the observations represented by this class
# S4 method for HistDat quantile(x, ...)
An instance of the class HistDat
Remaining arguments to pass to stats::quantile()
stats::quantile()
# NOT RUN { hd <- HistDat(vals = 1:3, counts = c(1, 2, 1)) quantile(hd, 0.1) # returns 1.3 # }
Run the code above in your browser using DataLab