-
Notifications
You must be signed in to change notification settings - Fork 49
Support for interactions and explicit nesting in blocking variables #197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #197 +/- ##
==========================================
- Coverage 93.55% 93.54% -0.01%
==========================================
Files 18 18
Lines 1179 1193 +14
==========================================
+ Hits 1103 1116 +13
- Misses 76 77 +1
Continue to review full report at Codecov.
|
Allowing a single term to expand into multiple terms during |
@dmbates I think this is good for merge if you're okay with it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, including the removal of the comment as we discussed.
Closes #149 .
Added functionality:
(1|batch&cask)
(equivalent to R(1|batch:cask)
).(1|batch/cask)
via expansion to outer and nested blocks(1|batch) + (1|batch&cask)
I'm not sure that adding the nesting syntax is truly desirable (I find it horribly confusing and it emphasizes an outdated computational perspective), but it's relatively low hanging fruit once we have the interactions in blocking variables. It's also convenient to support a wider range of the formulas
lme4
supports for some of the work with RCall and JuliaCall.Alternatively, we could just not support this syntax and add some documentation discussing how to prepare your data to use existing syntax.