# gig_ridges v0.1.0 - API Reference

## Modules

- [GigRidges](GigRidges.md): Ridgeline plots for Giggly: ridges along `x`, one above each baseline, as joy plots draw them.
- [GigRidges.Binline](GigRidges.Binline.md): The binned ridges' stat: each group's values counted in bins along `x`,
every group of a panel in the panel's bins, and each bin written as
the two ends of a step, so the ridge drawn through them is the histogram's outline.
- [GigRidges.DensityLine](GigRidges.DensityLine.md): The density line geom: a density, or any `y` above 0, drawn as a ridgeline over a baseline of 0
(`GigRidges.Ridgeline`), filled R's grey70 down to 0 and outlined in black along its top alone,
its legend keys the ridgeline's, where `Giggly.Plot.geom_density/3` is filled with nothing.
- [GigRidges.DensityRidgeline](GigRidges.DensityRidgeline.md): The density ridges' geom: the ridgeline (`GigRidges.Ridgeline`), but each point's `height`
scaled so the tallest ridge reaches the next baseline, then 1.8 times that above its baseline
where neither the `scale:` option nor a mapped `scale` gives another, so neighbouring ridges
overlap, and cut off by `rel_min_height` in place of `min_height`.
- [GigRidges.DensityRidgeline2](GigRidges.DensityRidgeline2.md): The closed density ridges' geom: the density ridges' (`GigRidges.DensityRidgeline`), its
options, aesthetics, scaling and legend key alike, but each ridge outlined round its whole
border, its baseline and sides too, where the density ridges' geom outlines its top alone.

- [GigRidges.DensityRidgelineGradient](GigRidges.DensityRidgelineGradient.md): The gradient density ridges' geom: the density ridges' (`GigRidges.DensityRidgeline`), its
options, aesthetics, scaling and legend keys alike, but a ridge whose `fill` varies along it
drawn in pieces of one fill each, outlined round in their fill `gradient_lwd:` wide, as the
gradient ridgeline's (`GigRidges.RidgelineGradient`) are.

- [GigRidges.DensityRidges](GigRidges.DensityRidges.md): The density ridges stat: each group's density along `x`, estimated with one bandwidth shared by
every group, so ridges of one plot are smoothed alike.
- [GigRidges.PointsJitter](GigRidges.PointsJitter.md): The jittered points' jitter: each of the layer's points,
its rows whose `datatype` is `"point"`, moved across by up to `width:` either way, 0 unless
given, and set up from its baseline by `yoffset:`, 0 unless given, and up to `height:` either
way, 0.2 unless given, in the units of the y axis, its `ymin` the height it is drawn at. Every
other row stays where it is, but under `adjust_vlines:` the quantile lines, the rows whose
`datatype` is `"vline"`, which then run across the band the points fall in, from `yoffset:`
less `height:` above the baseline to `yoffset:` and `height:` above it.
- [GigRidges.PointsRaincloud](GigRidges.PointsRaincloud.md): The jittered points' raincloud: each of the layer's points,
its rows whose `datatype` is `"point"`, dropped below its ridge as rain below a cloud, into a
band `height:` deep, 0.4 unless given, whose top is `ygap:` below its baseline, 0.05 unless
given, in the units of the y axis, and moved across by up to `width:` either way, 0 unless
given; its `ymin` the height it is drawn at. Every other row stays where it is, but under
`adjust_vlines:` the quantile lines, the rows whose `datatype` is `"vline"`, which then run
across the band the points fall in.
- [GigRidges.PointsSina](GigRidges.PointsSina.md): The jittered points' sina, which the density ridges' geoms
take unless given another position: each of the layer's points, its rows whose `datatype` is
`"point"`, set up from its baseline by a random share of its ridge's height there, from
`ymin` at its baseline to `ymax` at the ridge's top, so the points fill the ridge as its
density does. The share runs from `rel_min:` to `rel_max:`, 0.02 and 0.98 unless given, and is
the point's `ymin`, the height it is drawn at; its `x` and every other row stay where they are.
- [GigRidges.Ridgeline](GigRidges.Ridgeline.md): The ridgeline geom: each group a ridge along `x`, its baseline its `y` and its top `scale` times
its `height` above it, filled down to the baseline and outlined along the top, drawn back to
front so a lower ridge is drawn over the one above it.
- [GigRidges.RidgelineGradient](GigRidges.RidgelineGradient.md): The gradient ridgeline geom: the ridgeline (`GigRidges.Ridgeline`), its options, aesthetics,
defaults and legend keys alike, but a ridge whose `fill` varies along it drawn in pieces, one a
run of points of one fill, from its first point to the next run's, filled and outlined round in
that fill, `gradient_lwd:` wide in R's line-width units, 0.5 unless given, so the seams do not
show, and its top line drawn over them.

- [GigRidges.VRidgeline](GigRidges.VRidgeline.md): The vertical ridgeline geom: the ridgeline (`GigRidges.Ridgeline`) turned, each group a ridge
up `y`, its baseline its `x` and its outer edge `scale` times its `width` beyond it, filled back
to the baseline and outlined along that edge, the ridge of the greatest baseline drawn first,
filled R's grey80.

