[R] regsubsets() [leaps package] - please share some good examples of use
    agent dunham 
    crosspide at hotmail.com
       
    Tue Mar 15 15:18:07 CET 2011
    
    
  
Does it mean that regsubsets doesn't work with categorical variables?
It's because I'm trying the following and I don't know what happens. Any
help would be appreciated. 
varin <- data.frame(v1,v2,...,v7, factor1,..., factor4)
Dependent variable: height
Then:
eu.subsets <- regsubsets(varinc , height,
method=c("exhaustive"),nvmax=3,nbest =1)
It gives me this errror: 
Error en leaps.setup(x, y, wt = weights, nbest = nbest, nvmax = nvmax,  : 
  character variables must be duplicated in .C / .Fortran
By the way, if you introduce weights in regsubsets, is the same as doing
some kind of robust regression?
Thanks, user at host.com
--
View this message in context: http://r.789695.n4.nabble.com/regsubsets-leaps-package-please-share-some-good-examples-of-use-tp885785p3356716.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list