dot-get_density_mode: Get the maximum density value in a density plot

.get_density_modeR Documentation

Get the maximum density value in a density plot

Description

Useful for placing geoms in the center of density plots

Usage

.get_density_mode(data, col)

Arguments

data

A tibble.

col

A tidyselect column.

Value

The maximum density value.


volker documentation built on Nov. 5, 2025, 5:21 p.m.