geom_ccol: Cody's preferred geom_col

View source: R/functions.R

geom_ccolR Documentation

Cody's preferred geom_col

Description

This function is a wrapper for ggplot2::geom_col. It specifies some stylistic elements so they don't need to be typed out each time. It is meant to be used with geom_cerrorbar.

Usage

geom_ccol(..., bar_width = 0.6, position = position_dodge(),
  color = "black", size = 0.75)

Arguments

bar_width

Width of the column. The same width should be provided to geom_cerrorbar, if used, so that dodging is aligned.

position

see ggplot2::geom_col

color

see ggplot2::geom_col

size

see ggplot2::geom_col


codybj/codyverse documentation built on June 12, 2022, 4:15 p.m.