Skip to contents

Returns test actions.

Usage

getTestActions(stageResults, ...)

Arguments

stageResults

The results at given stage, obtained from getStageResults().

...

Only available for backward compatibility.

Value

Returns a character vector of length kMax

Returns a numeric vector of length kMaxcontaining the test actions of each stage.

Details

Returns the test actions of the specified design and stage results at the specified stage.

Examples

design <- getDesignInverseNormal(kMax = 2)
data <- getDataset(
    n      = c( 20,  30),
    means  = c( 50,  51),
    stDevs = c(130, 140)
)
getTestActions(getStageResults(design, dataInput = data))
#> [1] "continue" "reject"