Hacker News new | ask | show | jobs
by grayclhn 3780 days ago
You must not do a lot of regression with categorical data, then. I use commands like `lm(y ~ (x1 + x2) * factor_variable, data = d)` and `xyplot(y ~ x1 | factor_1, groups = factor_2, data = d)` all the time.
1 comments

Those also work just fine with strings.
Via an implicit call to factor, right?