Google News
logo
R - Quiz(MCQ)
_______ is the easiest method for reshaping the data before analysis.
A)
Package
B)
Function
C)
Structure()
D)
Transpose()

Correct Answer :   Transpose()


Explanation : Transpose t () is the easiest method for reshaping the data before analysis. The transpose (reversing rows and columns) is always the simplest method of reshaping a dataset. Use the t() function to transpose a matrix or a data frame.

Advertisement