Hi everyone,

Could anyone tell me what means the follow error message

Error in xj[i] : invalid subscript type 'closure'

It happens when I run the function plm, like this:

ff<-totaccz~lactivoz+varvolnegz
ss<-plm(ff,data=regaccdis,na.omit)
Error in xj[i] : invalid subscript type 'closure'
coef(ss)
(Intercept)    lactivoz  varvolnegz
 0.02571212  6.94227541  0.10340165

Thank you,

CecĂ­lia (Universidade de Aveiro - Portugal)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to