This function outputs stats for given dates
1 2 3 4 5 6 7 8 9 10 11 | PL_plot_data(
team_data,
date_from,
date_to,
x_stat,
y_stat,
teams,
x_stat_by = NA,
y_stat_by = NA,
custom_boundary = FALSE
)
|
team_data |
Data Frame in the form output by read_PL_data |
date_from |
Start date |
date_to |
End date |
x_stat |
The statistic output for the x axis. See details. |
y_stat |
The statistic output for the y axis. See details. |
teams |
The teams to output. |
x_stat_by |
The aggregation for the x stat. See details. |
y_stat_by |
The aggregation for the y stat. See details. |
custom_boundary |
Boolean |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.