1.

Which of the following merges two variables into one?(a) spread()(b) gather()(c) separate()(d) unite()This question was addressed to me in my homework.My doubt stems from Data Wrangling in section Profiling, Simulation and Data Analysis of R Programming

Answer»

The correct OPTION is (b) gather()

BEST explanation: The UNITE() FUNCTION is a convenience function to paste together multiple VARIABLE values into one.



Discussion

No Comment Found

Related InterviewSolutions