boxplot: Produce a ggplot2 Boxplot

View source: R/boxplot.R

boxplotR Documentation

Produce a ggplot2 Boxplot

Description

Create a ggplot2 boxplot displaying the distribution of a given variable. Does so by grouping the variable of choice by ECAC team, and displaying the value of variable for each ECAC game.

Usage

boxplot(var, gender = "women", verbose = TRUE)

Arguments

var

variable to plot

gender

'women' (default) or 'men'

Value

a ggplot2 boxplot object

Examples

boxplot(var="Goals", gender="women", verbose=FALSE)
boxplot(var="Assists", gender="men", verbose=FALSE)

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