[R] plm empty model error (data is linked)

2018-01-26 Thread Sojin Kim
Hi, I am trying to estimate a two-way model with both individual and time fixed effects. I am using plm with "twoways" specification. plm(as.integer(yvar) ~ xvar, index = c("id", "time"), model="within", data=dataset, effect = "twoways") But I get keep getting the following message and I don't k

[R] plm empty model error

2018-01-26 Thread Sojin Kim
Hi, I am trying to estimate a two-way model with both individual and time fixed effects. I am using plm with "twoways" specification. plm(as.integer(yvar) ~ xvar, index = c("id", "time"), model="within", data=dataset, effect = "twoways") But I get keep getting the following message and I don't k