set_dataline.Rd
Either set aesthetics of the default data line or add another data line.
set_dataline(
object,
variable = NULL,
line,
point,
type = "continuous",
label = NULL,
...
)
add_dataline(...)
An scplot object (class scplot
) returned from the scplot()
function.
String. The name of a new variable for adding a new line. If left empty, the aesthetics of the default data line are changed.
List with line parameters ("colour", "linewidth", "linetype", "lineend", "arrow"
). See element_line()
.
A list with point parameters ("colour", "size", "shape"
). See
element_point()
.
Either "continuous" or "discrete"
A character string which is used to set the label in a legend.
As a shortcut, arguments passed hear are bundled as line
arguments (see element_line()
).
An object of class scplot
(seescplot()
) with a changed datalines
element.