to label the results when printing and plotting. It's returned as bg$effect. But effect is misleading. I prefer
baggr(schools, label = "mean SAT score")
and to refer to it as bg$label. However, when implementing this, for compatibility sake, if someone passes an effect argument, it should be turned into label (even if effect is no longer a documented argument into the function) and a prompt like "Going forward please use "label" instead of "effect" should be issued
Right now I'd write e.g.
to label the results when printing and plotting. It's returned as
bg$effect
. Buteffect
is misleading. I preferand to refer to it as
bg$label
. However, when implementing this, for compatibility sake, if someone passes aneffect
argument, it should be turned intolabel
(even ifeffect
is no longer a documented argument into the function) and a prompt like"Going forward please use "label" instead of "effect"
should be issued