Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
grayclhn
on Feb 17, 2016
|
parent
|
context
|
favorite
| on:
R, the master troll of statistical languages (2012...
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.
hadley
on Feb 17, 2016
[–]
Those also work just fine with strings.
grayclhn
on Feb 18, 2016
|
parent
[–]
Via an implicit call to factor, right?
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: