length.TrialDesignSet {rpact} | R Documentation |
Returns the number of designs in a TrialDesignSet
.
## S3 method for class 'TrialDesignSet'
length(x)
x |
A |
Is helpful for iteration over all designs in a design set.
Returns a non-negative integer
of length 1
representing the number of design in the TrialDesignSet
.
## Not run:
designSet <- getDesignSet(design = getDesignGroupSequential(), alpha = c(0.01, 0.05))
length(designSet)
## End(Not run)