What Will Be The Output Of The Following R Code Snippetp Pre #461
What will be the output of the following R code snippet?</p> <pre><code class="language-rsplus"> > lm <- function(x) { x * x } > lm </code></pre>
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.
What will be the output of the following R code snippet?
> lm <- function(x) { x * x } > lm
function(x) { x * x }
func(x) { x * x }
function(x) { x / x }
function { x $ x }