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. ______________________________________________ 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.