Transpose is used for reshaping of the data which is used for analysis. Transpose is performed by t() function. Here is an example of data in the form of matrix and its transpose: