1.

Which function is used to automatically vectorize?(a) lapply()(b) kapply()(c) mapply()(d) happly()This question was posed to me in quiz.This key question is from Install and Configure topic in section History, Overview and Getting Started of R Programming

Answer»

Correct choice is (c) mapply()

Explanation: The mapply() function can be USED to automatically “VECTORIZE” a function. What this means is that it can be used to take a function that TYPICALLY only TAKES single ARGUMENTS and create a new function that can take vector arguments.



Discussion

No Comment Found

Related InterviewSolutions