Set casenames of an scplot

set_casenames(object, labels = NULL, position = NULL, background = list(), ...)

Arguments

object

An scplot object (class scplot) returned from the scplot() function.

labels

A Character vector with text labels.

position

Either "topleft", "bottomleft", "topright", "bottomright", "strip-right", "strip-top", or a numerical vector of length 2 with the x and y position (e.g. c(19, 20)).

background

A list with background styling arguments (fill, color, size, linetype).

...

List with text parameters ("family", "face", "colour", "size", "hjust", "vjust", "angle", "lineheight", "margin"). See element_text().

Value

An object of class scplot (seescplot()) with a changed casenames

element.