How To Transform Data In R Studio