fitbest | R Documentation |
Use the leaps package to generate the best subsets.
fitbest(formula, data, nbest = 10, ...)
formula |
model formula |
data |
data frame |
nbest |
number of subsets of each size to record |
... |
other arguments passed to |
y <- swiss$Fertility mods <- fitbest(Fertility ~ ., swiss)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.