HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulegranite-0.7.4.0GHC2021

Granite.Stat

Statistical transforms (Stat). Each runs on a layer's mapped X / Y columns and returns a new frame, generally with the same column names holding the transformed values. StatBoxplot additionally writes __ymin __q1 __median __q3 __ymax for the boxplot geom to read.

  • 1 type
  • 9 values
valuesmoothMovingAvg :: Int -> [Double] -> [Double]
#

Trailing moving average; leading edge is the partial-window mean so the output length matches the input.

valueboxplotSummary :: [Double] -> BoxStats
#

Five-number summary using Tukey hinges: when n is odd the median is included in both halves, so boxplotSummary [1..9] gives (1, 3, 5, 7, 9).