Add value labels to an scplot
add_labels(
object,
nudge_y = 5,
nudge_x = 0,
round = NULL,
text = list(),
background = list(),
variable = ".dvar",
padding = NULL
)An object of class scplot (seescplot()) with added/changed element
labels.
An scplot object (class scplot) returned from the scplot()
function.
Offset on the y-axis.
Offset on the x-axis.
Number of digits of the labels.
List with text parameters ("family", "face", "colour", "size", "hjust", "vjust", "angle", "lineheight", "margin"). See element_text().
A list with background styling arguments (fill, color, size, linetype).
Name of the dataline variable to apply the style.
Padding size around text.