beer: An internal function for geom_beer

Description Usage Arguments Value

View source: R/beer.R

Description

An internal function for geom_beer

Usage

1
beer(x, y, color = "#bdbdbd", lineend = "butt")

Arguments

x

numeric vector

y

numeric vector

color

indicates the color. The default color is set to #bdbdbd which is grrey-ish

lineend

Line end style (round, butt, square). Default is set to butt.

Value

mapping: x = ~-x + 1.5, y = ~y, xend = ~x - 1.5, yend = ~y geom_segment: arrow = NULL, arrow.fill = NULL, lineend = butt, linejoin = round, na.rm = FALSE stat_identity: na.rm = FALSE position_identity


andr3wli/geombeer documentation built on Dec. 31, 2020, 7:46 p.m.