A closure is a standard R function (that is not a primitive function).
This is presumably from package plm. You called plm() with three
arguments, that is subset=na.omit by the matching rules. I think
you intended na.action=na.omit. na.omit is a 'closure'.
On Fri, 29 May 2009, Cecilia Carm
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'
coe
Dear R help,
I use the package plm the function plm() to analyse a panel data and
estimate a fixeffect model.
I use the code as follow :
fe <- plm(y~x+z, data, model = "within")
But I had a error message
Error in model.frame.default(form, ...) : object is not a matrix
I
3 matches
Mail list logo