nStep: Find the Number of Steps Performed During the Sequential...

nStepR Documentation

Find the Number of Steps Performed During the Sequential Testing

Description

Find the number of steps performed during the sequential testing.

Usage

nStep(object)

## S3 method for class 'modelsearch2'
nStep(object)

Arguments

object

a modelsearch2 object.

Value

an integer.

Examples

## Not run: 
mSim <- lvm(Y~G+X1+X2)
addvar(mSim) <- ~Z1+Z2+Z3+Z4+Z5+Z6
df.data <- lava::sim(mSim, 1e2)

mBase <- lvm(Y~G)
addvar(mBase) <- ~X1+X2+Z1+Z2+Z3+Z4+Z5+Z6
e.lvm <- estimate(mBase, data = df.data)
res <- modelsearch2(e.lvm, method.p.adjust = "holm")
nStep(res)

## End(Not run)


lavaSearch2 documentation built on April 12, 2023, 12:33 p.m.