stat: "summary_rolling"
Centered rolling window over continuous x (params.window, in x units): summarize y per (group, unique x). Partial windows at the ends are kept. Publishes y.
Usage
import { GGPlot, GeomPoint } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y" }}>
<GeomPoint stat="summary_rolling" />
</GGPlot> {
"geom": "point",
"stat": "summary_rolling"
} Generated columns (after_stat)
Resolve these with channel objects such as { stat: "y" } in aes.
y
Default for geoms
No geom uses this as its default stat. Set it explicitly when needed.