fixest::iplot(),删除一些因素
fixest::iplot(), dropping some factors
我正在使用 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")
如何省略所需的 category/ies?
这是一个已知错误,开发人员正在处理此问题:https://github.com/lrberge/fixest/issues/164。
UPD(9 月 21 日):错误已解决!
我正在使用 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")
如何省略所需的 category/ies?
这是一个已知错误,开发人员正在处理此问题:https://github.com/lrberge/fixest/issues/164。
UPD(9 月 21 日):错误已解决!