Factors as factors
Explains the importance of factors in R for data analysis, covering when and how to convert strings to factors to avoid errors.
Explains the importance of factors in R for data analysis, covering when and how to convert strings to factors to avoid errors.
Explores a bug in R's survey package when using strings vs. factors in grouped analysis, highlighting data type pitfalls.
Analyzes the historical and technical reasons behind R's controversial 'stringsAsFactors' default, explaining its origins and the problems it causes.