histogram | R Documentation |
Create a ggplot2 histogram object displaying the distribution of a given statistic among all ECAC players of a single gender (women or men)
histogram( var, games = "all", players = "goalies", gender = "women", verbose = TRUE )
var |
variable to plot |
games |
graphing 'all' (default), 'conference', or 'nonconference' games. Currently no support for 'nonconference' games |
players |
type of players stats to graph, 'goalies' (default) or 'skaters' |
gender |
'women' (default) or 'men' |
a ggplot2 histogram object
histogram(var="Saves", verbose=FALSE) histogram(var="Goals", games="conference", players="skaters", gender="men", verbose=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.