I am trying to estimate the model with 3 fixed effects. One is a customer-fixed effect, another one is good fixed effect and the third one is time-fixed effect. I am new to plm package, but as I understand, if I had just 2 fixed effects (time and good). I would do something like this:
fe <- plm(outcome ~ dependent variable + explanatory variable 1 + explanatory variable 2,
data = mydata, index = c("good_id", "time"), model = 'within', effect = "twoways")
But how I approach this problem in plm package if I have not 2 fixed effects, but 3?