Stepwise: 'Stepwise'

View source: R/stepwise.R

StepwiseR Documentation

Stepwise

Description

Stepwise selection of predictor variables by AIC.

Usage

Stepwise(
  object,
  output = "Final",
  direction = "Backward",
  always.include = NULL,
  steps = 1000
)

Arguments

object

a Regression object.

output

one of Final, Detailed or All, which determines how much information to display.

direction

one of Backward (backward elimination of variables) or Forward (forward selection of variables).

always.include

a vector of names of variables to always include in the model.

steps

the maximum number of steps to be considered.


NumbersInternational/flipRegression documentation built on March 2, 2024, 10:42 a.m.