Aan de slagGa gratis aan de slag

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

Deze oefening maakt deel uit van de cursus

Dealing With Missing Data in R

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen