addline | R Documentation |
Add a line to the semMediation plot
addline(
x1 = 0,
y1 = 0,
x2 = 10,
y2 = 10,
height = 3,
width = 5,
start = "ellipse",
end = "rect",
linetype = "solid",
size = 0.2,
colour = "black",
...
)
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" |
linetype |
The linetype passed to geom_segment() |
size |
the size of geom_segment() |
colour |
the colour of geom_segment() |
... |
Other arguments passed on to geom_segment() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.