View source: R/enforce_three_plus_three.R
enforce_three_plus_three | R Documentation |
This function stops with en error if it detects that outcomes describing a trial path have diverged from that advocated by the 3+3 method.
enforce_three_plus_three(outcomes, allow_deescalate = FALSE)
outcomes |
Outcomes observed. See |
allow_deescalate |
TRUE to allow de-escalation, as described by Korn et al. Default is FALSE. |
Nothing. Function stops if problem detected.
## Not run:
enforce_three_plus_three('1NNN 2NTN 2NNN') # OK
enforce_three_plus_three('1NNN 2NTN 2N') # OK too, albeit in-progress cohort
enforce_three_plus_three('1NNN 1N') # Not OK because should have escalated
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.