[R] Error: invalid type (closure) for the variable 'time' - object specific trend
Tobias Christoph
s3tochri at uni-bayreuth.de
Thu May 11 15:37:39 CEST 2017
Hey,
I just have trouble adding a object specific time trend with the
plm-package. I recieve the following error:
*
**"Error in model.frame.default(terms(formula, lhs = lhs, rhs = rhs,
data = data, : invalid type for the variable 'time' "*
I used the formula:
/ FE_trend<- plm(log(revenue) ~ log(supply)+ city*time,
data=R_Test_log_Neu, model="within", effect = "twoways") //
/
Do you have an idea how to fix it?
Toby
[[alternative HTML version deleted]]
More information about the R-help
mailing list