step.glmcat {GLMcat}R 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.


[Package GLMcat version 0.2.6 Index]