[R] nvmax in REGSUBSETS function
cxzhang at ualr.edu
Tue Oct 5 23:45:46 CEST 2010
I am using regsubsets function package 'leaps' and want to let it regress on
every 2 variables.
I wanted to leaps but wasn't able to control the size of variables. So I
decided to use regsubsets.
But I notice that if I set nvmax=2, it will regress on 3 variables instead
of 2; and when my nvmax=1, it regresses on 2, which is weird to me.
I wonder whether my setting was incorrect or my understanding on nvmax was
View this message in context: http://r.789695.n4.nabble.com/nvmax-in-REGSUBSETS-function-tp2956926p2956926.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help