It is used to perform the all-subsets regression and it is defined under the leaps package.