1.

Which function is used to select variables and observations from a given dataset?(a) Subset()(b) Sample()(c) While()(d) Signal()This question was posed to me during an online exam.My doubt is from Functions in division Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

Correct choice is (a) Subset()

Explanation: Subset () function is used to select variables and observations from a given dataset. R has a large NUMBER of in-built functions and also the USER can CREATE their own functions.



Discussion

No Comment Found

Related InterviewSolutions