calculate_idp {adaptr} | R Documentation |
Calculate the ideal design percentage
Description
Used internally by check_performance()
, calculates the ideal design
percentage as described in that function's documentation.
Usage
calculate_idp(sels, arms, true_ys, highest_is_best)
Arguments
sels |
a character vector specifying the selected arms (according to the
selection strategies described in |
arms |
character vector with unique names for the trial arms. |
true_ys |
numeric vector specifying true outcomes (e.g., event
probabilities, mean values, etc.) for all trial |
highest_is_best |
single logical, specifies whether larger estimates of
the outcome are favourable or not; defaults to |
Value
A single numeric value between 0
and 100
corresponding to the
ideal design percentage.