rpact: Confirmatory Adaptive Clinical Trial Design and Analysis


TrialDesignSet_length {rpact}R Documentation

Length of Trial Design Set

Description

Returns the number of designs in a TrialDesignSet.

Usage

## S3 method for class 'TrialDesignSet'
length(x)

Arguments

x

A TrialDesignSet object.

Details

Is helpful for iteration over all designs in a design set with "[index]"-syntax.

Value

Returns a non-negative integer of length 1 representing the number of design in the TrialDesignSet.

Examples

designSet <- getDesignSet(design = getDesignGroupSequential(), alpha = c(0.01, 0.05))
length(designSet)


[Package rpact version 3.0.0 Index | www.rpact.org]