1.

Which function gives the list as output?(a) Spline(b) Matrix(c) Vector(d) AlphabetI have been asked this question during an online interview.This key question is from Data Types in division Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

The CORRECT answer is (a) SPLINE

The best explanation: There are also many FUNCTIONS within R that produce a list as output. Examples of these functions INCLUDE spline(), density() and locator().Joining two lists can be achieved either using the concatenation FUNCTION or the append function.



Discussion

No Comment Found

Related InterviewSolutions