Internal Helper Functions for Validation of RuleDesign
Objects
Source: R/Design-validity.R
v_design.Rd
These functions are only used internally to validate the format of an input
RuleDesign
or inherited classes and therefore not exported.
These functions are only used internally to validate the format of an input
RuleDesignOrdinal
or inherited classes and therefore not exported.
Value
A character
vector with the validation failure messages,
or TRUE
in case validation passes.
A character
vector with the validation failure messages,
or TRUE
in case validation passes.
Functions
v_rule_design()
: validates that theRuleDesign
object contains validstartingDose
.v_rule_design_ordinal()
: validates that theRuleDesignOrdinal
object contains validstarting_dose
.v_design_grouped()
: validates that theDesignGrouped
object contains valid flags.