Using R For Betting Analysis