Label for a region of Venn diagram
a dataframe including binary columns representing membership in sets
the aesthetics mapping
vector with names of columns representing membership in sets
the multiplier defining the distance from the centre
the fill of the label
the text size
the size of the label outline
Arguments passed on to ggplot2::geom_label
stat
The statistical transformation to use on the data for this
layer, either as a ggproto
Geom
subclass or as a string naming the
stat stripped of the stat_
prefix (e.g. "count"
rather than
"stat_count"
)
position
Position adjustment, either as a string, or the result of
a call to a position adjustment function. Cannot be jointy specified with
nudge_x
or nudge_y
.
parse
If TRUE
, the labels will be parsed into expressions and
displayed as described in ?plotmath
.
nudge_x,nudge_y
Horizontal and vertical adjustment to nudge labels by.
Useful for offsetting text from points, particularly on discrete scales.
Cannot be jointly specified with position
.
label.padding
Amount of padding around label. Defaults to 0.25 lines.
label.r
Radius of rounded corners. Defaults to 0.15 lines.
na.rm
If FALSE
, the default, missing values are removed with
a warning. If TRUE
, missing values are silently removed.
show.legend
logical. Should this layer be included in the legends?
NA
, the default, includes if any aesthetics are mapped.
FALSE
never includes, and TRUE
always includes.
It can also be a named logical vector to finely select the aesthetics to
display.
inherit.aes
If FALSE
, overrides the default aesthetics,
rather than combining with them. This is most useful for helper functions
that define both data and aesthetics and shouldn't inherit behaviour from
the default plot specification, e.g. borders()
.