The tdigest-Chart package

[Tags:bsd3, library, test]

Chart generation from tdigest.

...

[Skip to Readme]

Properties

Versions 0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <4.10), base-compat (>=0.9.1 && <0.10), Chart (>=1.8.1 && <1.9), colour (>=2.3.3 && <2.4), lens (>=4 && <4.16), semigroupoids (==5.1.*), semigroups (>=0.18.2 && <0.19), tdigest (==0.1.*) [details]
License BSD3
Author Oleg Grenrus <oleg.grenrus@iki.fi>
Maintainer Oleg Grenrus <oleg.grenrus@iki.fi>
Stability Unknown
Category Numeric, Graphics
Home page https://github.com/futurice/haskell-tdigest#readme
Bug tracker https://github.com/futurice/haskell-tdigest/issues
Source repository head: git clone https://github.com/futurice/haskell-tdigest
Uploaded Wed Mar 8 12:31:42 UTC 2017 by phadej
Distributions
Downloads 14 total (14 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-03-08 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for tdigest-Chart

Readme for tdigest-Chart-0

tdigest-Chart

A Chart plotting of tdigest

Examples

These are outputs of the test-suite

inkscape --export-png=example1.png --export-dpi=80 --export-background-opacity=0 --without-gui example1.svg
inkscape --export-png=example2.png --export-dpi=80 --export-background-opacity=0 --without-gui example2.svg

Standard normal distribution

Chart.layout_title Chart..= "Normal distribution"
Chart.plot $ do
    p <- Chart.tdigestPlot "tdigest" td
    return $ Chart.tdigestToPlot $ p
        & Chart.plot_tdigest_normalize .~ True
        & Chart.plot_tdigest_deviations .~ Just 3

Example 1

Chi-squared distribution, k = 5

Chart.layout_title Chart..= "Chi-squared distribution, k = 5"
Chart.plot $ do
    p <- Chart.tdigestPlot "tdigest" td
    return $ Chart.tdigestToPlot $ p
        & Chart.plot_tdigest_normalize .~ True
        & Chart.plot_tdigest_quantiles .~ [0.5, 0.9, 0.999]

Example 2