GeomPointrange
Pointrange geometry: vertical stem from ymin to ymax plus a point at (x, y).
Defaults
- geom
pointrange- default stat
identity- default position
identity- params type
PointrangeParams
Svelte component
import { GGPlot, GeomPointrange } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y" }}>
<GeomPointrange />
</GGPlot> JSON layer
{
"geom": "pointrange"
} Params
linewidthnumberStem stroke width in px. Must be greater than 0. Default 1.
alphanumberOpacity for stem and point. Default 1.
sizenumberMid-point radius in px. Default 2.5.
shape"circle" | "triangle" | "square" | "diamond" | "plus" | "cross"Mid-point shape. Default "circle".
fun"mean" | "median" | "sum"STAT SUMMARY ONLY: center summary of y per x group. Default "mean" (mean_se when funMin/funMax omitted).
funMinSummaryFunSTAT SUMMARY ONLY: summary function for the lower bound (ymin). Overrides the mean_se default.
funMaxSummaryFunSTAT SUMMARY ONLY: summary function for the upper bound (ymax). Overrides the mean_se default.
Allowed stats
Allowed positions
identitydefault