1.

________ function can be used to add datasets in R provided with the columns in the datasets should be the same.(a) rbind()(b) bbind()(c) jbind()(d) hbind()I have been asked this question in a job interview.This intriguing question comes from Functions topic in portion Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

The correct ANSWER is (a) rbind()

The explanation: rbind () function can be used add datasets in R language PROVIDED the columns in the datasets should be the same. R has a LARGE number of in-built FUNCTIONS and also the user can create their own functions.



Discussion

No Comment Found

Related InterviewSolutions