ridgeline: Ridgeline plot

Description Usage Arguments

View source: R/ridgeline.R

Description

Ridgeline plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
ridgeline(
  x,
  y,
  bw = "nrd0",
  mode = FALSE,
  main,
  xlab,
  ylab,
  col = "gray",
  border,
  lty = 1,
  lwd = 1,
  bty = "o",
  labels = NULL,
  palette,
  axes = TRUE
)

Arguments

x

Numeric variable.

y

Categorical variable.

bw

Bandwidth value or method. See ?density for more details.

mode

Whether to display the modes or not

main

Title of the plot

xlab

X-axis title of the plot

ylab

Y-axis title of the plot

col

Color of the horizontal lines for each group

border

Color of the borders of the densities

lty

Line type of the border of the densities

lwd

Line width of the border of the densities

bty

Box type of the plot

labels

If specified, overrides the labels of the Y-axis

palette

Color, colors or a color palette for the density areas

axes

If FALSE, removes the X-axis


R-CoderDotCom/ridgeline documentation built on Feb. 5, 2021, 6:13 a.m.