View source: R/class_trial_comparison.R
| add | R Documentation |
S3 generic for adding objects. The TrialComparison method
delegates to $add() and modifies the existing comparison by reference.
The TrialComparison method appends objects to the comparison.
add(x, ...)
## S3 method for class 'TrialComparison'
add(x, ...)
x |
An object supporting an |
... |
For |
The modified comparison for TrialComparison.
getComparison(), delete()
comparison <- getComparison(fixed = getDesignFixed())
comparison |> add(sequential = getDesignGroupSequential(kMax = 2))
comparison |> add(objects = list(other = getDesignFixed(alpha = 0.05)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.