Working with missing values
R stores missing values as NA
, which have some special behavior. Now that you can define missing data and understand how R stores missing values, can you predict what will happen when we operate with some missing values?
What is the output of the following four commands in R? Try them out in the code console to test them before you submit your answer.
1 + NA
NA + NA
NA | TRUE
NA | FALSE
Cet exercice fait partie du cours
Dealing With Missing Data in R
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
