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 don't what's wrong. Beacuse others use the same codes and data,the code
can work.
   I consult the paper plm.pdf , but I can't find any answer. 
  

   Thanks, 
   I really would appreciate some suggestions.
   Helen Chen 
-- 
View this message in context: 
http://www.nabble.com/error-message-in-plm-package-tp23209223p23209223.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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