stat: "smooth"
Fit a smoother (lm or loess) and evaluate along x. Publishes y, ymin, ymax, and se; default for geom_smooth.
Usage
import { GGPlot, GeomSmooth } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y" }}>
<GeomSmooth stat="smooth" />
</GGPlot> {
"geom": "smooth",
"stat": "smooth"
} Generated columns (after_stat)
Resolve these with channel objects such as { stat: "y" } in aes.
yyminymaxse
Default for geoms
Compatible geoms
GeomSmoothdefault