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

What will be the output of the following R code? > x <- list(a = 1:5, b = rnorm(10)) > lapply(x, mean)

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

Related Computer Questions

Topological sort can be implemented by? What will be the output of the following C++ code? include <iostream> using namespace std; long factorial (long a) { if (a > 1) return (a * factorial (a + 1)); else return (1); } int main () { long num = 3; cout << num << "! = " << factorial ( num ); return 0; } Choose the correct description for control string %-+7.2f. You have an interface on a router with the IP address of 192.168.192.10/29. Including the router interface, how many hosts can have IP addresses on the LAN attached to the router interface? The date and time displays on