We've invited some friends and family to one last BBQ, but some didn't confirm if they can make it.

Let's use a function called is.na() to see how many guests have not confirmed.

Boom! The result is a logical vector which displays TRUE for every NA value. Five TRUE values means that 5 people did not get back to us.

Didn't we say we want to use the is.na()function?