RcappeR

Takes the list returned after using zipf_init and the dataframe entered into the zipf_init function, and merges the two together, returning a dataframe with initial ratings per runner.

Usage

merge_zipf_init(zipf_list, races, btn_var = NULL)

Arguments

param details
zipf_list list returned by zipf_init
races dataframe of races that were entered into zipf_init
btn_var name of variable in races with the margins between horses, if entered it will calculate ratings for all losers by subtracting the btn_var from the winners rating