Explain the concept of factor levels in R
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what factor levels are in R and how they relate to the values a factor stores. Tests whether you understand how level order and unused levels affect sorting, frequency tables, plots and the baseline category in regression models.