View source: R/check_futility_rule.R
check_futility_rule | R Documentation |
Check if an available dose violates futility rule (futility count/sample size > futility threshold (eta).
check_futility_rule(80, dose_info, 0.8)
dose |
A numeric dose level (assumed to be available) |
dose_info |
Dataframe containing [dose level | availability | N_d | X_d | Y_d | Z_d | pf | pe | pt] |
eta |
Invoke stopping rule if more than this proportion of subjects exhibit futility |
Boolean T/F whether futility rule was violated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.