Skip to contents

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)