Felix Cheung created SPARK-18569: ------------------------------------ Summary: Support R formula arithmetic Key: SPARK-18569 URL: https://issues.apache.org/jira/browse/SPARK-18569 Project: Spark Issue Type: Sub-task Reporter: Felix Cheung
I think we should support arithmetic which makes it a lot more convenient to build model. Something like log(y) ~ a + log(x) And to avoid resolution confusions we should support the I() operator: I I(X∗Z) as is: include a new variable consisting of these variables multiplied Such that this works: y ~ a + I(b+c), the term b+c is to be interpreted as the sum of b and c. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org