add_labels {scplot} | R Documentation |
Add value labels to an scplot
Description
Add value labels to an scplot
Usage
add_labels(
object,
nudge_y = 5,
nudge_x = 0,
round = NULL,
text = list(),
background = list(),
variable = ".dvar",
padding = NULL
)
Arguments
object |
An scplot object (class |
nudge_y |
Offset on the y-axis. |
nudge_x |
Offset on the x-axis. |
round |
Number of digits of the labels. |
text |
List with text parameters ( |
background |
A list with background styling arguments (fill, color, size, linetype). |
variable |
Name of the dataline variable to apply the style. |
padding |
Padding size around text. |
Value
An object of class scplot
(seescplot()
) with added/changed element
labels
.
[Package scplot version 0.4.0 Index]