Does LM work for categorical variables?
Does LM work for categorical variables? In R, categorical variables can be added to a regression using the lm() function without a hint of extra work. Can categorical variables be used in linear regression in R? Regression analysis requires numerical variables. So, when a researcher wishes to include a categorical variable in a regression model, […]