
Internal Helper Functions for Validation of GeneralSimulations Objects
Source: R/Simulations-validity.R
v_general_simulations.RdThese functions are only used internally to validate the format of an input
GeneralSimulations or inherited classes and therefore not exported.
Usage
v_general_simulations(object)
v_simulations(object)
v_dual_simulations(object)
v_da_simulations(object)Functions
v_general_simulations(): validates that theGeneralSimulationsobject contains validdataobject and validdosesimulations.v_simulations(): validates that theSimulationsobject contains valid objectfit,stop_reasons,stop_report, andadditional_statscompared to the general classGeneralSimulations.v_dual_simulations(): validates that theDualSimulationsobject and capture the dose-biomarkerfits, and thesigma2Wandrhoestimates.v_da_simulations(): validates that theDASimulationsobject contains validtrial_durationthe vector of trial duration values for all simulations.