lollipopChart: Produce a ggplot2 Lollipop Chart

View source: R/lollipopChart.R

lollipopChartR Documentation

Produce a ggplot2 Lollipop Chart

Description

Create a ggplot2 lollipop chart (alternative to a bar chart) of overall season summary statistics of all ECAC teams.

Usage

lollipopChart(var, games = "all", gender = "women")

Arguments

var

summary statistic to display

games

graphing 'all' (default), 'conference', or 'nonconference' games. Currently no support for 'nonconference' games

gender

"women' (default) or 'men'

Value

a ggplot2 lollipop chart object

Examples

lollipopChart(var="Goals")
lollipopChart(var="PenaltyMinutes", games="conference", gender="men")

CharlesReinhardt/ecacr documentation built on May 14, 2022, 2:24 a.m.