boxplot | R Documentation |
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.
boxplot(var, gender = "women", verbose = TRUE)
var |
variable to plot |
gender |
'women' (default) or 'men' |
a ggplot2 boxplot object
boxplot(var="Goals", gender="women", verbose=FALSE) boxplot(var="Assists", gender="men", verbose=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.