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

scale_colour_cyclical() scale_fill_cyclical() scale_alpha_cyclical() scale_linetype_cyclical() scale_size_cyclical()

Create a discrete scale that cycles between values

scale_point_shape scale_point_size_continuous scale_point_colour_hue scale_point_color_hue scale_point_fill_hue scale_point_colour_gradient scale_point_color_gradient scale_point_fill_gradient scale_point_shape_discrete scale_point_color_discrete scale_point_colour_discrete scale_point_fill_discrete scale_point_color_continuous scale_point_colour_continuous scale_point_fill_continuous

Scales for point aesthetics

scale_vline_linetype scale_vline_width_continuous scale_vline_colour_hue scale_vline_color_hue scale_vline_colour_gradient scale_vline_color_gradient scale_vline_linetype_discrete scale_vline_color_discrete scale_vline_colour_discrete scale_vline_color_continuous scale_vline_colour_continuous

Scales for vline aesthetics

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.