Learn R Programming

directlabels (version 2.0)

direct.label.ggplot: direct label ggplot

Description

Direct label a ggplot2 grouped plot.

Usage

## S3 method for class 'ggplot':
direct.label(p,
method = NULL,
debug = FALSE)

Arguments

p
The ggplot object.
method
Method for direct labeling as described in ?label.positions.
debug
Show debug output?

Value

  • The ggplot object with direct labels added.