Learn R Programming

scplot (version 0.5.1)

add_ridge: Add a ridge to an scplot

Description

Add a ridge to an scplot

Usage

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

Value

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

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.