How To Use Unique Function In R