Set and add datalines of an scplot

add_dataline(object, variable, line, point, type = "continuous", ...)

set_dataline(object, variable, line, point, type, ...)

Arguments

object

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

variable

Name of the dataline variable to apply the style.

line

A list (class element_line) with datapoint attributes: colour, linetype, size.

point

A list (class element_point) with datapoint attributes: colour, shape, size.

type

Either "continuous" or "descrete"

...

As a shortcut, arguments passed hear are bundled as `line` arguments. E.g. colour = "res", linewidth = 2.