Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
grayclhn
10y ago
0 comments
Save
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
2 comments · 1 top-level
top
newest
oldest
hadley
10y ago
· 1 in thread
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