[R] Error when trying to run model selection with leaps package

bitzy kdeere at gmail.com
Tue May 11 16:41:15 CEST 2010


I am trying to do an exhaustive model search and am having some sort of input
error. 

leaps ( x= At[,3:8], y = At [,2],method="Cp")

Error in `colnames<-`(`*tmp*`, value = "1") : 
  attempt to set colnames on object with less than two dimensions

- where At is my data matrix

Any suggestions on what this error might mean? Or suggestions on alternative
methods for performing exhaustive model searches?

Thanks

-- 
View this message in context: http://r.789695.n4.nabble.com/Error-when-trying-to-run-model-selection-with-leaps-package-tp2173920p2173920.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list