Modified version of ggrepel::geom_label_repel()
.
Arguments
- data
data.frame
. Data frame, containing plot data.- mapping
Set of aesthetic mappings created by
ggplot2::aes()
.- color
character(1)
orNULL
. Text color.- size
integer(1)
. Font size.- ...
Additional arguments, passed to
ggrepel::geom_label_repel()
.
Details
If advanced customization of the text labels is required, simply use the ggrepel version instead.
Examples
geom <- acid_geom_label_repel()
print(geom)
#> geom_label_repel: parse = FALSE, box.padding = 0.5, label.padding = 0.25, point.padding = 0.75, label.r = 0.15, label.size = 0.25, min.segment.length = 0.5, arrow = list(angle = 30, length = 0.01, ends = 2, type = 1), na.rm = FALSE, force = 1, force_pull = 1, max.time = 0.5, max.iter = 10000, max.overlaps = Inf, nudge_x = 0, nudge_y = 0, xlim = c(NA, NA), ylim = c(NA, NA), direction = both, seed = NA, verbose = FALSE
#> stat_identity: na.rm = FALSE
#> position_identity