Learn R Programming

relax (version 1.3.15)

step: modified version of step for relax

Description

Select a formula-based model by AIC.

Usage

step(object, scope, scale = 0, direction = c("both", "backward", "forward"), trace = 1, keep = NULL, steps = 1000, k = 2, ...)

Arguments

object
model
scope
range of model
scale
used in the definiton of AIC statistic
direction
mode of search
trace
printing during running
keep
filter function
steps
max number of steps
k
multiple of number of d.f. for penalty
...
further arguments

Value

Details

see help of step (package stats)

See Also

step