What Will Be The Output Of The Following R Code Snippetp Pre #470

What will be the output of the following R code snippet?</p> <pre><code class="language-rsplus"> > g <- function(x) { + a <- 3 + x+a+y + ## 'y' is a free variable + } > g(2) </code></pre>

Online Quiz This multiple choice question (MCQ) is related to the book/course gs gs110 R Language. It can also be found in gs gs110 Control Structures, Functions, Scoping Rules, Loop Functions and Debugging - Scoping Rules - Quiz No.1.


Similar question(s) are as followings:



Online Quizzes of gs110 R Language

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background