Skip to contents

Geoms, stats, and positions

Various geoms, stats, and positions that help with drawing customizable ridgeline plots

geom_density_line()
Smoothed density estimates drawn with a ridgeline rather than area
geom_density_ridges() geom_density_ridges2()
Create ridgeline plot
geom_ridgeline()
Plot a ridgeline (line with filled area underneath)
geom_ridgeline_gradient() geom_density_ridges_gradient()
Plot ridgelines and ridgeline plots with fill gradients along the x axis
geom_vridgeline()
Plot a vertical ridgeline (ridgeline rotated 90 degrees)
stat_binline()
Stat for histogram ridgeline plots
stat_density_ridges()
Stat for density ridgeline plots
position_points_jitter()
Randomly jitter the points in a ridgeline plot
position_points_sina()
Randomly distribute points in a ridgeline plot between baseline and ridgeline
position_raincloud()
Create a cloud of randomly jittered points below a ridgeline plot

Scales

Scales that complement the ggridges geoms

Themes

Theme settings suitable for ridgeline plots

theme_ridges()
A custom theme specifically for use with ridgeline plots

Datasets

Datasets used in the package documentation

Aus_athletes
Australian athletes
Catalan_elections
Results from Catalan regional elections (1980-2015)
lincoln_weather
Weather in Lincoln, Nebraska in 2016.