1.

How missing values and impossible values are represented in R language?(a) NA(b) NAN(c) NA & NAN(d) Not ExistThis question was posed to me in an online quiz.This interesting question is from Functions topic in section Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

The correct option is (c) NA & NAN

For explanation I would say: NaN (Not a NUMBER) is used to represent impossible VALUES whereas NA (Not Available) is referred to represent missing values. It is good to FIND the missing values and then TAKE the necessary STEPS to handle them.



Discussion

No Comment Found

Related InterviewSolutions