add_line.Rd
Add line to an scplot
add_line(
object,
case = 1,
x0 = NULL,
y0 = NULL,
x1 = NULL,
y1 = NULL,
hline = NULL,
vline = NULL,
color = "black",
linewidth = 0.7,
linetype = "solid"
)
An scplot object (class scplot
) returned from the scplot()
function.
Numerical vector with the case number or character string. case = "all"
for all cases.
Origin x position of the line.
Origin y position of the line.
End x position of the line.
End y position of the line.
y position of horizontal line.
x position of vertical line.
A character string or a number defining the color of an element.
A number with the width of the line.
A character string with the line type: "solid", "dashed", "dotted"
An object of class scplot
(seescplot()
) with added element
lines
.