Set phasenames of an scplot object

set_phasenames(object, labels = NULL, position = NULL, ...)

Arguments

object

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

labels

A Character vector with text labels.

position

Character string either 'left', 'center', or 'none'.

...

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

Value

An object of class scplot (see scplot()) with a changed phasenames element.

Details

This function allows to set or modify the phase names displayed above the phases in an scplot object. You can customize the labels and their position (left, center, or none). Additionally, you can adjust various text parameters such as font family, face, color, size, and more using the ... argument.