Learn R Programming

volker (version 3.1.0)

.density_mode: 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)

Value

The maximum density value.

Arguments

data

A tibble.

col

A tidyselect column.