我正在尝试为以下模型复制边际效应图
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为变量“turnooutconslag”和“enop_seatslag”创建边际效应图,但出现错误
"Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘sim’ for signature ‘"plm"’