Home / MCQ Bank / Computer
Computer Control Structures In R Programming

What will be the output of the following R code? > f <- function(elt) { + elt[, 1] + } > lapply(x, f)

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • $a [1] 1 2 $b [1] 1 2 3

Related Computer Questions

In Oozie, what does the term "bundle application coordinator" mean? What will be the output? class A{ int i = 10; public void printValue(){ System.out.print("Value-A"); } } class B extends A{ int i = 12; public void printValue(){ System.out.print("Value-B"); } } public class Test{ public static void main(String args[]){ A a = new B(); a.printValue(); System.out.print(a.i); } } In R, which package is commonly used for working with data from the World Bank? What is the time complexity of removing an element from a list in C++ STL? The proper definition of a modern digital computer is