Description Usage Arguments Value Examples
Get Per-Game Statistics
1 | perGameStats(stage = 1, ...)
|
stage |
Either 1 or 2, denotes the stage of the competition to use data from. Default is 1. |
... |
Unquoted function names to use to summarize the per-game statistics, such as mean, median, or standard deviation. Will use mean if nothing is specified. |
A dataframe containing summarized statistics for each team in each season.
1 2 3 4 5 6 7 8 9 10 11 | #will use stage 1 data and calculate the mean for each of the statistics
## Not run:
avgStatsPerGame <- perGameStats()
## End(Not run)
#will use stage 2 data and calculate the mean, median, and standard deviation of each statistic
## Not run:
perGameStats(stage = 2, mean, median, sd)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.