Skip to contents

[Stable]

These functions are only used internally to validate the format of an input NextBest or inherited classes and therefore not exported.

Usage

v_next_best_mtd(object)

v_next_best_ncrm(object)

v_next_best_ncrm_loss(object)

v_next_best_dual_endpoint(object)

v_next_best_min_dist(object)

v_next_best_inf_theory(object)

v_next_best_td(object)

v_next_best_td_samples(object)

v_next_best_max_gain_samples(object)

v_next_best_prob_mtd_lte(object)

v_next_best_prob_mtd_min_dist(object)

v_next_best_ordinal(object)

Arguments

object

(NextBest)
object to validate.

Value

A character vector with the validation failure messages, or TRUE in case validation passes.

Functions

  • v_next_best_mtd(): validates that the NextBestMTD object contains valid target probability and derive function.

  • v_next_best_ncrm(): validates that the NextBestNCRM object contains valid target probability, overdose and max_overdose_prob probability ranges.

  • v_next_best_ncrm_loss(): validates that the NextBestNCRMLoss object contains valid objects.

  • v_next_best_dual_endpoint(): validates that the NextBestDualEndpoint object contains valid probability objects.

  • v_next_best_min_dist(): validates that the NextBestMinDist object contains valid target object.

  • v_next_best_inf_theory(): validates that the NextBestInfTheory object contains valid target and asymmetry objects.

  • v_next_best_td(): validates that the NextBestTD object contains valid prob_target_drt and prob_target_eot probabilities.

  • v_next_best_td_samples(): validates that the NextBestTDsamples object contains valid derive function.

  • v_next_best_max_gain_samples(): validates that the NextBestMaxGainSamples object contains valid derive and mg_derive functions.

  • v_next_best_prob_mtd_lte(): validates that the NextBestProbMTDLTE object contains valid target probability and method string value.

  • v_next_best_prob_mtd_min_dist(): validates that the NextBestProbMTDMinDist object contains valid target probability and method string value.

  • v_next_best_ordinal(): validates that the NextBestOrdinal object contains valid grade and standard NextBest rule.