Harmonize position of by
argument
#373
Labels
Consistency 🍏 🍎
Expected output across functions or API design could be more similar
by
argument
#373
@DominiqueMakowski
One thing I always forget is that
estimate_relation()
and alike haveby
not at 2nd, but 3rd position. The second argument isdata
. Forestimate_means()
and alike,by
is the second argument. I often useestimate_relation(model, "variable")
, and forget to addby =
, which returns an error.Should we harmonize this? Will be a breaking change, but if we decide to do so, now would be a good opportunity, I guess. I would prefer the order
model
,by
and thendata
. WDYT?Originally posted by @strengejacke in #369 (comment)
The text was updated successfully, but these errors were encountered: