1.

__________ is the easiest method for reshaping the data before analysis.(a) Transpose()(b) Structure()(c) Package(d) FunctionThis question was posed to me during an interview for a job.Enquiry is from Functions in portion Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

Correct choice is (a) TRANSPOSE()

To explain I would say: 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.



Discussion

No Comment Found

Related InterviewSolutions