Add text labels
Usage
add_text_labels(
plot,
var,
data = all_rows(),
fontsize = 7,
segment.size = 0.2,
box.padding = 0.2,
...
)Arguments
- plot
A
tidyplotgenerated with the functiontidyplot().- var
bla
- data
The data to be displayed in this layer. There are three options:
If
all_rows()(the default) the complete plot data is displayed.A
functionto subset the plot data. Seefilter_rows()and friends.A
data.frameto override the plot data.
- fontsize
common
- segment.size
bla
- box.padding
Amount of padding around bounding box, as unit or number. Defaults to 0.25. (Default unit is lines, but other units can be specified by passing
unit(x, "units")).- ...
Arguments passed on to the
geomfunction.