Explain Data Transformation In R