ggally_nostic_line: 'ggnostic' background line with geom

View source: R/ggnostic.R

ggally_nostic_lineR Documentation

ggnostic background line with geom

Description

If a non-null linePosition value is given, a line will be drawn before the given continuous_geom or combo_geom is added to the plot.

Usage

ggally_nostic_line(
  data,
  mapping,
  ...,
  linePosition = NULL,
  lineColor = "red",
  lineSize = 0.5,
  lineAlpha = 1,
  lineType = 1,
  continuous_geom = ggplot2::geom_point,
  combo_geom = ggplot2::geom_boxplot,
  mapColorToFill = TRUE
)

Arguments

data, mapping

supplied directly to ggplot2::ggplot()

...

parameters supplied to continuous_geom or combo_geom

linePosition, lineColor, lineSize, lineAlpha, lineType

parameters supplied to ggplot2::geom_line()

continuous_geom

ggplot2 geom that is executed after the line is (possibly) added and if the x data is continuous

combo_geom

ggplot2 geom that is executed after the line is (possibly) added and if the x data is discrete

mapColorToFill

boolean to determine if combo plots should cut the color mapping to the fill mapping

Details

Functions with a color in their name have different default color behavior.

Value

ggplot2 plot object


GGally documentation built on Nov. 22, 2023, 9:06 a.m.