plot_prediction_points_by_team | R Documentation |
Plot Predicted Points
plot_prediction_points_by_team(
all_predictions = compile_predictions(),
past_days = 14,
teamColours = HockeyModel::teamColours
)
all_predictions |
the compiled predictions |
past_days |
number of past days to include on the plot. Default: a fortnight |
teamColours |
HockeyModel::teamColours or a custom value |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.