Examveda

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

A. FALSE FALSE TRUE TRUE FALSE

B. FALSE TRUE TRUE TRUE FALSE

C. TRUE FALSE TRUE TRUE FALSE

D. TRUE FALSE TRUE FALSE FALSE

Answer: Option A


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics