Liking cljdoc? Tell your friends :D

boxplot-clj

String box plots for numeric data.

Usage

(require '[boxplot-clj.core :as box])

(box/box-plot (repeatedly 10000 rand) 50)
;; =>
;; "             _______________________              
;;  |-----------|           |           |------------|
;;               ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯              
;;  0.000068   0.25        0.51       0.75         1.0"
 
(box/box-plot (repeatedly 10000 #(* (rand) (rand))) 50)
;; => 
;; "    ______________                                
;;  |--|     |        |------------------------------|
;;      ¯¯¯¯¯¯¯¯¯¯¯¯¯¯                                
;;  0.0000017 0.197  0.38                         0.99"

License

Distributed under the Eclipse Public License either version 1.0.

Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close