我使用的是fixest (0.9.0版),我想在iplot()生成的固定效果图中省略一个数字因子。
library(fixest)
reg1 <- feols(mpg ~ disp + i(carb, ref = 8), data = mtcars)
fdict <- c("2" = "two", "3" = "three")
etable(reg1, dict = fdict)摘要将值2和3替换为定义的标签。但是,当我尝试运行以下任何一项时,不会删除任何类别
iplot(reg1, dict = fdict, drop = "two")
iplot(reg1, dict = fdict, drop = "two|three")
iplot(reg1, dict = fdict, drop = "%2")如何省略所需类别?
发布于 2021-06-26 03:23:08
这是一个已知的bug,开发人员正在解决这个问题:https://github.com/lrberge/fixest/issues/164。
UPD (9月21日):bug已经解决了!
https://stackoverflow.com/questions/68077132
复制相似问题