wjc_u23_plot: WJC & U23 History Plots

Description Usage Arguments Value Examples

View source: R/wjc_u23_hist.R

Description

Results trends for nations at either World Juniors or U23s, by gender and race type.

Usage

1
wjc_u23_plot(nations, races = c("WJC", "U23"))

Arguments

nations

character vector of nation codes, eg "USA", "CAN", etc.

races

character; one of "WJC" or "U23"

Value

A named list with components:

  1. plots - a named list of plots, one for each nation

  2. data - raw data used for plots

Examples

1
2
3
4
5
6
## Not run: 
p <- wjc_u23_plot(nations = c('USA','CAN'),races = 'WJC')
print(p$plots$USA)
print(p$plots$CAN)

## End(Not run)

joranE/statskier2 documentation built on May 19, 2019, 8:42 p.m.