addlabel: Add a label to the semMediation plot

View source: R/semPlot1.R

addlabelR Documentation

Add a label to the semMediation plot

Description

Add a label to the semMediation plot

Usage

addlabel(
  x1 = 0,
  y1 = 0,
  x2 = 10,
  y2 = 10,
  height = 3,
  width = 5,
  start = "ellipse",
  end = "rect",
  label = label,
  useLabel,
  ...
)

Arguments

x1

The x coordinate of start point

y1

The y coordinate of start point

x2

The x coordinate of end point

y2

The y coordinate of end point

height

A number indicating height of the rectangle

width

A number indicating width of the rectangle

start

The start geom. Either "rect" or "ellipse"

end

The end geom. Either "rect" or "ellipse"

label

The label passed on to geom_label()

useLabel

Whether use geom_label instead of geom_label. Default value is FALSE.

...

Other arguments passed on to geom_label()


cardiomoon/semMediation documentation built on Nov. 16, 2023, 4:26 a.m.