length.TrialDesignSet: Length of Trial Design Set

View source: R/class_design_set.R

length.TrialDesignSetR 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.

Value

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

Examples

## Not run: 
designSet <- getDesignSet(design = getDesignGroupSequential(), alpha = c(0.01, 0.05))
length(designSet)

## End(Not run)


rpact documentation built on Sept. 27, 2024, 5:08 p.m.