Skip to contents

Returns the number of designs in a TrialDesignSet.

Usage

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

Arguments

x

A TrialDesignSet object.

Value

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

Details

Is helpful for iteration over all designs in a design set.

Examples

if (FALSE) { # \dontrun{
designSet <- getDesignSet(design = getDesignGroupSequential(), alpha = c(0.01, 0.05))
length(designSet)
} # }