Function to optimize k parameter and entry Elo scores

elo.m3_lik_vect(par, IA_data, all_ids)

Arguments

par

list of parameters, with par[1] being log(k), and par[2:length(par)] being the initial elo scores of individuals

IA_data

list of interaction data, with columns "Date", "Winner", and "Loser" (in that order)

all_ids

list of all ids to rank

Examples


# for internal use