| RuleDesignOrdinal-class | R Documentation |
RuleDesignOrdinalRuleDesignOrdinal is the class for rule-based designs. The difference between
this class and the DesignOrdinal class is that RuleDesignOrdinal
does not contain model, stopping and increments slots.
RuleDesignOrdinal(next_best, cohort_size, data, starting_dose)
.DefaultRuleDesignOrdinal()
next_best |
( |
cohort_size |
( |
data |
( |
starting_dose |
( |
Please note that the cohort size rules need to be wrapped into
the corresponding CohortSizeOrdinal class, before a successful evaluation of the
corresponding methods can take place. Note also that these wrappers cannot be nested,
i.e., you cannot have a CohortSizeOrdinal inside another CohortSizeOrdinal
(which also would not make sense) because it would not be clear which event grade to use
for the methods calculation. However, multiple rules can be combined using the operators
defined, e.g.,
CohortSizeMin(list(CohortSizeOrdinal(1L, rule1), CohortSizeOrdinal(2L, rule2))).
next_best(NextBestOrdinal)
how to find the next best dose.
cohort_size(CohortSize)
rules for the cohort sizes.
data(DataOrdinal)
specifies dose grid, any previous data, etc.
starting_dose(number)
the starting dose, it must lie on the dose
grid in data.
Typically, end users will not use the .DefaultRuleDesignOrdinal() function.
RuleDesignOrdinal(
next_best = NextBestOrdinal(
1L,
NextBestMTD(
target = 0.25,
derive = function(x) median(x, na.rm = TRUE)
)
),
cohort_size = CohortSizeOrdinal(1L, CohortSizeConst(size = 3L)),
data = DataOrdinal(doseGrid = c(5, 10, 15, 25, 35, 50, 80)),
starting_dose = 5
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.