Take the list returned by zipf_init and the dataframe entered into the zipf_init function, and merge them together, returning a dataframe with ratings per runner.
1 | merge_zipf_init(zipf_list, races, btn_var = NULL)
|
zipf_list |
list returned by zipf_init |
races |
dataframe of races |
btn_var |
name of variable in races with margins between horses, if entered it will calculate ratings for all losers using the winners rating and subtracting btn_var |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.