1.

Which of the following function takes multiple columns?(a) spread()(b) gather()(c) separate()(d) extract()The question was asked in an online quiz.My question is taken from Data Wrangling in division Profiling, Simulation and Data Analysis of R Programming

Answer» CORRECT option is (b) gather()

Easiest explanation: gather() gathers COLUMN into key-value pairs.


Discussion

No Comment Found

Related InterviewSolutions