Counts rows at each x. For pre-computed heights use geom_col().

geom_bar(
  mapping = NULL,
  data = NULL,
  color = NULL,
  alpha = NULL,
  width = 0.8,
  position = "stack"
)

Arguments

mapping, data, color, alpha

As in geom_point().

width

Bar width as a fraction of the slot.

position

"stack" (default), "dodge", or "identity".

Value

A Layer.