我正在尝试复制以下模型的边际效应图
model_7 <- plm(devexp_share_totexp2 ~ enop_seatslag + turnoutconslag + ix_turnoutenop_seatslag +
devexp_share_totexp2lag + growth_newlag + log_realinc_newlag + rightconslag +
coalitionlag + post1991 + f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8 + f9 + f10 + f11 +
f12 + f13 + f14 + f15,
data = state_data, index = c("state", "year"), model = "within", effect = "individual")
我试图使用R包 interplot 为变量创建一个边际效应图&#34; turnooutconslag&#34;和&#34; enop_seatslag&#34;但得到错误
"Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘sim’ for signature ‘"plm"’