Reputation: 31
I am trying to generate an interaction plot using the following code:
library(plm)
FE <- plm(y~a*b+c,data=pdata, effect="time",model="within")
summary(FE)
plot_model(FE, type = "pred", terms = c("a", "b"))
and I receive this error:
Error in crossprod(beta, t(X)) : non-conformable arguments
It seem to occur when trying to use plot_model()
with plm models with time-fixed or two way effects. However, it works when I fit the same model using for example between, random or usual within effects.
Did someone experience similar problems and is able to help?
Upvotes: 1
Views: 321