Skip to contents

Direct label a ggplot2 grouped plot

Usage

direct.label_prevR(p, method = NULL, debug = FALSE)

Arguments

p

The ggplot object.

method

Method for direct labeling (see directlabels::direct.label()).

debug

Show debug output?

Value

The ggplot object with direct labels added.

Note

This function is based on and similar to directlabels::direct.label() except that legend is not hidden.