Skip to main content

Module stat

Module stat 

Source

Modules§

align
stat_align — the default stat of geom_area (ggplot2 ≥ 3.4).
arcdiagram
StatArcdiagram: node positions and link spans for an arc diagram.
bin
bin2d
bindot
binhex
boxplot
calendar
Calendar heatmap layout (stat_calendar / GGPlot::geom_calendar): a date column becomes week-column × weekday-row tiles.
chord
StatChord: angular layout for a chord diagram / dependency wheel.
contour
contour_filled
count
density
density2d
dist
Student-t quantile used for confidence-interval multipliers.
distribution
Self-contained quantile / density functions for the theoretical distributions of stat_qq / stat_qq_band (normal, Student t, exponential, half-normal).
ecdf
ellipse
function
funnel
StatFunnel: stage polygons for funnel and pyramid charts.
heikin_ashi
StatHeikinAshi: Heikin-Ashi transform of OHLC rows, for geom_heikin_ashi (candles over the smoothed values).
identity
indicator
StatIndicator: technical-analysis indicators for price series, to overlay on (or stack under) candlestick / line charts: geom_line().stat(StatIndicator::new(Indicator::Ema(20))).
loess
marching_squares
marimekko
StatMarimekko: variable-width column layouts — variwide charts and Marimekko (mosaic) charts.
network
StatNetwork: node-link layouts for network graphs.
pack
StatPack: packed-bubble / circle-packing layout (d3-hierarchy’s packSiblings front-chain algorithm by Wang et al., with Welzl’s smallest enclosing circle), deterministic.
pareto
StatPareto: sum y per category, sort descending and accumulate — the data behind a Pareto chart’s bars and cumulative-percentage line.
partition
StatPartition: hierarchical partition layout (icicle / sunburst).
qq
Quantile–quantile statistics: stat_qq, stat_qq_line (ggplot2) and stat_qq_band (qqplotr’s pointwise / KS confidence envelopes) against a choice of theoretical distribution.
renko
StatRenko / StatPointFigure: time-independent price charts built from a box size. Prices are read from y in data order (time order).
sankey
StatSankey: node/link layout for a Sankey diagram from an edge list.
smooth
sum
summary
summary2d
summary_bin
tree
StatTree: hierarchical node-link layouts (tidy tree / dendrogram / org chart).
treemap
StatTreemap: squarified treemap layout (Bruls, Huizing & van Wijk).
venn
StatVenn: area-proportional Venn / Euler layouts.
waffle
StatWaffle: unit layouts for waffle and parliament charts.
waterfall
StatWaterfall: running totals for a waterfall (bridge) chart.
ydensity

Traits§

Stat
Trait for statistical transformations.