This function outputs stats for given dates
PL_stats_data( team_data, date_from, date_to, x_stat, y_stat, teams, x_stat_by = NA, y_stat_by = NA )
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. |