Re: [R] Attribute Length Error when Trying plm Regression

2013-09-05 Thread Millo Giovanni
Generali SpA Via Machiavelli 3, 34132 Trieste (Italy) tel. +39 040 671184 fax +39 040 671160 Original thread -- Message: 48 Date: Wed, 4 Sep 2013 14:14:23 -0700 (PDT) From: arun To: lross8 Cc: R help Subject: Re: [R] Attribute Length Error when Tr

Re: [R] Attribute Length Error when Trying plm Regression

2013-09-04 Thread arun
HI, It is better to provide a reproducible example using ?dput(). you can also check in this link. http://r.789695.n4.nabble.com/names-attribute-must-be-the-same-length-as-the-vector-td4503946.html library(plm) #Using the example from ?plm()  data("Produc", package = "plm")  zz <- plm(log(gsp) ~