[R] error message in plm

Cecilia Carmo cecilia.carmo at ua.pt
Fri May 29 15:27:59 CEST 2009


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)




More information about the R-help mailing list