View source: R/class_trial_comparison.R
| delete | R Documentation |
S3 generic for removing objects. The TrialComparison method
delegates to $delete() and modifies the existing comparison by reference.
The TrialComparison method deletes one contained object by position or name.
delete(x, ...)
## S3 method for class 'TrialComparison'
delete(x, ...)
x |
An object supporting a |
... |
For |
The modified comparison for TrialComparison.
getComparison(), add()
comparison <- getComparison(
fixed = getDesignFixed(),
sequential = getDesignGroupSequential(kMax = 2)
)
comparison |> delete("fixed")
comparison |> delete(index = 1)
comparison |>
add(getDesignFixed()) |>
delete(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.