CommencerCommencez gratuitement

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

<cours>Dealing With Missing Data in R</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice