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.