(extent xs)
Returns 2-vector of min and max elements in xs.
Returns 2-vector of min and max elements in xs.
(irange start)
(irange start end)
(irange start end step)
Inclusive range; same as core/range, but includes the end.
Inclusive range; same as core/range, but includes the end.
(quantile data & {:keys [probs] :or {probs [0 0.25 0.5 0.75 1]}})
Returns the quantiles of a dataset.
Kwargs:
:probs: ntiles of the data to return, defaults to
[0 0.25 0.5 0.75 1]
Algorithm is the same as R's quantile type=7. Transcribed from Jason Davies; https://github.com/jasondavies/science.js/blob/master/src/stats/quantiles.js
Returns the quantiles of a dataset. Kwargs: > *:probs*: ntiles of the data to return, defaults to `[0 0.25 0.5 0.75 1]` Algorithm is the same as R's quantile type=7. Transcribed from Jason Davies; https://github.com/jasondavies/science.js/blob/master/src/stats/quantiles.js
(within? x [bottom top])
Checks if bottom <= x <= top.
Checks if bottom <= x <= top.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close