How do you handle missing values in R using na.rm, is.na, and complete.cases?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to work with missing values in R using the na.rm argument, is.na() and complete.cases(). Tests whether you can compute summaries despite NAs, count, filter and replace them, avoid the == NA trap, and judge when dropping incomplete rows biases an analysis.