Internal Helper Functions for Validation of GeneralSimulations
Objects
Source: R/Simulations-validity.R
v_general_simulations.Rd
These 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 theGeneralSimulations
object contains validdata
object and validdose
simulations.v_simulations()
: validates that theSimulations
object contains valid objectfit
,stop_reasons
,stop_report
, andadditional_stats
compared to the general classGeneralSimulations
.v_dual_simulations()
: validates that theDualSimulations
object and capture the dose-biomarkerfits
, and thesigma2W
andrho
estimates.v_da_simulations()
: validates that theDASimulations
object contains validtrialduration
the vector of trial duration values for all simulations.