Add a ridge to an scplot

add_ridge(object, color = "grey98", variable = ".dvar")

Arguments

object

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

color

A character string or a number defining the color of an element.

variable

Name of the dataline variable to apply the style.

Value

An object of class scplot (seescplot()) with changed element ridges.