Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
grayclhn
10y ago
0 comments
Share
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.
0 comments
default
newest
oldest
hadley
10y ago
Those also work just fine with strings.
grayclhn
OP
10y ago
Via an implicit call to factor, right?
j
/
k
navigate · click thread line to collapse