StoppingSpecificDose-class | R Documentation |
StoppingSpecificDose
StoppingSpecificDose
is the class for testing a stopping rule at specific
dose of the dose grid and not at the next best dose.
StoppingSpecificDose(
rule = StoppingTargetProb(target = c(0, 0.3), prob = 0.8),
dose = 80,
report_label = NA_character_
)
.DefaultStoppingSpecificDose()
rule |
( |
dose |
( |
report_label |
( |
rule
(Stopping
)
a stopping rule available in this package.
dose
(positive_number
)
a dose that is defined as part of the dose
grid of the data.
Typically, end users will not use the .DefaultStoppingSpecificDose()
function.
# Stop if highest dose 80 is safe.
highest_dose_safe <- StoppingSpecificDose(
rule = StoppingTargetProb(target = c(0, 0.3), prob = 0.8),
dose = 80
)
# Stop if lowest dose 10 is toxic.
lowest_dose_toxic <- StoppingSpecificDose(
rule = StoppingTargetProb(target = c(0.3, 1), prob = 0.8),
dose = 10
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.