modified version of step for relax

Description

Select a formula-based model by AIC.

Usage

1
2
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

Details

see help of step (package stats)

Value

stepwise-selected model is returned ...

See Also

step

Examples

1
 ##