How to update elo ratings after each season in R

r
elo_rating

#1

Hello,

I am trying to use the elo ratings system to generate ratings and based on that predict the probabilities of winning.Below is the code I am using:

elo(ipl,status = NULL,init = 2200,kfac = 27) the corresponding output is:

However this is for all the seasons till now.
What I would like is to first generate the same for a single season and for the subsequent seasons update the ratings based on win/loss.

Can someone please help me with that??