How To Use Log Function In R