COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following is not a type of missing value in R?
|
NA ____ double ____
|
|
NA ____ integer ____
|
|
NA
|
|
NA ____ character ____
|
Explanation:
Detailed explanation-1: -In R, missing values are represented by the symbol NA (not available). Impossible values (e.g., dividing by zero) are represented by the symbol NaN (not a number).
Detailed explanation-2: -There are four qualitatively distinct types of missing data. Missing data is either: structurally missing, missing completely at random (MCAR), missing at random, or nonignorable (also known as missing not at random).
Detailed explanation-3: -In base R, use na. omit() to remove all observations with missing data on ANY variable in the dataset, or use subset() to filter out cases that are missing on a subset of variables. An alternative to na. omit() is na.
There is 1 question to complete.