Y
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
hadley
3780 days ago
Those also work just fine with strings.
link
grayclhn
3779 days ago
Via an implicit call to factor, right?
link