winLossChart: Produce a Win/Loss ggplot2 Bar Chart

View source: R/winLossChart.R

winLossChartR Documentation

Produce a Win/Loss ggplot2 Bar Chart

Description

Creates a ggplot2 bar chart object visualizing the wins and losses of a given ECAC team. Can be faceted by home/away.

Usage

winLossChart(team, gender = "women", byLocation = TRUE)

Arguments

team

ECAC team to visualize

gender

'women' (default) or 'men'

byLocation

TRUE (default) to split Home/Away, FALSE otherwise

Value

ggplot2 bar chart object

Examples

winLossChart(team="brown")
winLossChart(team="clarkson", gender="men", byLocation=FALSE)

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