1

What will be the output of the following R code? > x <- c(1, 2, NA, 4, NA, 5) > bad <- is.na(x) > print(bad)

Correct Answer: FALSE FALSE TRUE FALSE TRUE FALSE

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: What will be the output of the following R code? > x bad print(bad) | Extra Education