reggie icon indicating copy to clipboard operation
reggie copied to clipboard

Reconsider Data / Formula order in call

Open vincentarelbundock opened this issue 8 years ago • 1 comments

I get the point of the experiment with argument order, but I'm not sure %>% pipelines will be the dominant use case. And if they are not, then it's probably not a good idea to mess with a strong convention that is maintained by most model-fitting R packages.

Plus, the benefit of breaking convention doesn't seem very high, given that one can just do this:

dat %>% lm(y ~ x, .)

vincentarelbundock avatar Jan 23 '18 23:01 vincentarelbundock

Perhaps providing another function reg_(y ~ x, df)? I do like the current design though.

jjchern avatar Apr 29 '18 20:04 jjchern