Description Usage Arguments Details Value
View source: R/predict_vs_real.R
A function that takes the prediction keys and the gathered matchData and decides whether the match has been played and then decides whether the match was a 'W' / 'L' / 'D' pivoted on the home team, and checks the prediction if it was correct (T) or incorrect (F).
1 | predict_vs_real(KEYS, readyToAnalyse, matches)
|
KEYS |
A list containing options such as testing / prediction / important variables and information. Also contains API information. |
readyToAnalyse |
A character vector of the form of the redis keys. |
matches |
A data frame that contains rows of single matches that have been played between two teams. |
Redis Keys used;
[HASH] :: csdm_pred:{comp_id}:{season}:{month}:{match_id}
Nothing. The prediction key for a particular match is updated with a T or F whether the prediction was true or false.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.