How do you convert data types in R?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to convert between data types in R with the as.* coercion functions. It tests knowledge of failed conversions that return NA, the factor-to-numeric pitfall, implicit coercion rules and converting data frame columns.