Intermediate R
Q73 / 100

What does "complete.cases(df)" return?

Correct! Well done.

Incorrect.

The correct answer is B) A logical vector indicating which rows of df have no missing values (NA) in any column

B

Correct Answer

A logical vector indicating which rows of df have no missing values (NA) in any column

Explanation

complete.cases() returns TRUE for rows that contain no NA values across all (or specified) columns, useful for filtering complete observations.

Progress
73/100