.density_mode {volker}R Documentation

Get the maximum density value in a density plot

Description

Useful for placing geoms in the center of density plots

Usage

.density_mode(data, col)

Arguments

data

A tibble.

col

A tidyselect column.

Value

The maximum density value.


[Package volker version 3.1.0 Index]