regsubsets(x=, ...)regsubsets.formula(formula=, data=, weights=rep(1, length(y)), nbest=1,
nvmax=8, force.in=NULL, force.out=NULL, intercept=T,
method=c("exhaustive","backward","forward","seqrep"),
really.big=F)
regsubsets.default(x=, y=, weights=rep(1, length(y)), nbest=1, nvmax=8,
force.in=NULL, force.out=NULL, intercept=T,
method=c("exhaustive","backward","forward","seqrep"),
really.big=F)
## S3 method for class 'regsubsets':
summary(ll,all.best=TRUE,matrix=T,matrix.logical=F,df=NULL)
matrix=TRUE, the matrix is logical
TRUE/FALSE or string "*"/code{" "}n-1."regsubsets" containing no user-serviceable
parts. It is designed to be processed by
summary.regsubsets.leapsdata(swiss)
a<-regsubsets(as.matrix(swiss[,-1]),swiss[,1])
summary(a)
b<-regsubsets(Fertility~.,data=swiss)
summary(a)Run the code above in your browser using DataLab