R/elo.m3_lik_vect.R
elo.m3_lik_vect.Rd
Function to optimize k parameter and entry Elo scores
elo.m3_lik_vect(par, IA_data, all_ids)
list of parameters, with par[1] being log(k), and par[2:length(par)] being the initial elo scores of individuals
list of interaction data, with columns "Date", "Winner", and "Loser" (in that order)
list of all ids to rank
# for internal use