What Will Be The Output Of The Following R Codep Pre Langrsplus #505

What will be the output of the following R code?</p> <pre><code class="language-rsplus"> > printmessage <- function(x) { + if(x > 0) + print("x is greater than zero") + else + print("x is less than or equal to zero") + invisible(x) + } > printmessage(NA) </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 - Debugging - Quiz No.1.


Similar question(s) are as followings:



Online Quizzes of gs110 R Language

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background