Sail E0 Webinar

MCQs

Total Questions : 12 | Page 2 of 2 pages
Question 11. Functions are defined using the _________ directive and are stored as R objects
  1.    function()
  2.    funct()
  3.    functions()
  4.    All of the mentioned
 Discuss Question
Answer: Option A. -> function()


In particular, they are R objects of class "function.


Question 12. Which of the following is multivariate version of lapply ?
  1.    apply()
  2.    lapply()
  3.    sapply()
  4.    mapply()
 Discuss Question
Answer: Option D. -> mapply()


The mapply() function is a multivariate apply of sorts which applies a function in parallel over a set of arguments.


Latest Videos

Latest Test Papers