我想手动对 a 中的系数进行排序coefplot
。以前的问题只能通过 (decreased) 实现排序magnitude
,这不是我想要的。
考虑下面的例子:
library(coefplot)
data(tips, package = "reshape2")
mod1 <- lm(tip ~ day + sex + smoker + sex * smoker, data = tips)
coefplot.glm(mod1)
我如何在不依赖于它们的大小的情况下sexMale:smokerYes
在顶部和daySat
, dayThu
(daySun
然后是其余的)上实现系数阶?
提前感谢您为我指出解决方案。:)