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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 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).