Add test to an scplot

add_text(
  object,
  label,
  case = 1,
  x,
  y,
  color = "black",
  size = 1,
  angle = 0,
  hjust = 0.5,
  vjust = 0.5,
  face = 1
)

Arguments

object

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

label

A Character vector with text labels.

case

Numerical vector with the case number or character string. case = "all" for all cases.

x

x position

y

y position

color

A character string or a number defining the color of an element.

size

Text size relative to the base text size.

angle

Angle (in [0,360])

hjust

Horizontal justification (in [0,1])

vjust

Vertical justification (in [0,1])

face

Font face ("plain", "italic", "bold", "bold.italic")

Value

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

element.