I estimated a gmm model using pgmm() of the plm package, but received the following error term:
pgmm()
Error in cbind(yX1[[i]], V1) : number of rows of