This function outputs stats for given dates
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 |