What does the drop argument do when subsetting in R?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what the drop argument does when you subset a matrix or data frame in R with the bracket operator. It tests whether you know the default behavior for each object type and how to keep subsetting code from breaking when a selection leaves one row or one column.