govcolumn: Create a simple column chart

Description Usage Arguments Value

View source: R/govcolumn.R

Description

A function for creating a simple column chart

Usage

1
govcolumn(data, x, y, series = NULL, position = "dodge")

Arguments

data

A data frame for plotting

x

The variable for the x-axis

y

The variable for the y-axis

series

Optional. The variable denoting the series

position

How the series are arranged, default is "dodge", can be any ggplot position, the main alternative is "stack".

Value

A ggplot object


mattkerlogue/govplot documentation built on Nov. 4, 2019, 6:17 p.m.