[,TrialDesignSet-method | R Documentation |
Function to the TrialDesign
at position i
in a TrialDesignSet
object.
## S4 method for signature 'TrialDesignSet'
x[i, j, ..., drop = TRUE]
Can be used to iterate over all designs in a design set.
designSet <- getDesignSet(design = getDesignFisher(), alpha = c(0.01, 0.05))
for (i in 1:length(designSet)) {
print(designSet[i]$alpha)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.