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

What will be the output of the following R code? > g <- function(x) { + a <- 3 + x+a+y + ## 'y' is a free variable + } > y <- 3 > g(2)

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • 8

Related Computer Questions

In ASP.NET Core MVC, what is the purpose of the appsettings.json file? The options 'use common narration' and 'narration each entry' appear Which of the following is valid reverse polish expression? Which built-in function is used to convert a value to an integer? What is "rehashing" in the context of hash tables?