Closed nbokulich closed 5 years ago
@nbokulich: can you fix the conflict?
@thermokarst conflict: resolved
okay @thermokarst formula parsing is modernized. I have tested this manually with all reasonable edge cases I can think of.
thanks @thermokarst ! The formula now appears in the summary
Description
R-like formulae can now be input, in place of using lists of
group_columns
. For example, these two commands are equal (this is confirmed by unit tests):That's useful for folks more comfortable with R-style formulae. Great. But
group_columns
includes all interactions between variables as terms in our model! So formulae allow us to specify much more explicit and complex models, e.g.:Notes
I have added a bunch of unit tests to cover formula validation, etc. However, these formulae can get pretty complex and I don't have much experience with working with more complex formulae... so there is probably room for improvement. Let me know if you want to see more unit tests!