step: Stepwise for a 'glmcat' model object

step.glmcatR Documentation

Stepwise for a glmcat model object

Description

Stepwise for a glmcat model object based on the AIC.

Usage

## S3 method for class 'glmcat'
step(object, scope, scale, direction, trace, keep, steps, k, ...)

Arguments

object

an fitted object of class glmcat.

scope

defines the range of models examined in the stepwise search (same as in the step function of the stats package). This should be either a single formula, or a list containing components upper and lower, both formulae.

scale

the scaling parameter (if applicable).

direction

the mode of the stepwise search.

trace

to print the process information.

keep

a logical value indicating whether to keep the models from all steps.

steps

the maximum number of steps.

k

additional arguments (if needed).

...

additional arguments passed to the function.


GLMcat documentation built on Sept. 30, 2024, 5:08 p.m.