GeneralSimulations ObjectsThese functions are only used internally to validate the format of an input
GeneralSimulations or inherited classes and therefore not exported.
v_general_simulations(object)v_simulations(object)
v_dual_simulations(object)
v_da_simulations(object)
A character vector with the validation failure messages,
or TRUE in case validation passes.
(GeneralSimulations)
object to validate.
v_general_simulations(): validates that the GeneralSimulations object
contains valid data object and valid dose simulations.
v_simulations(): validates that the Simulations object
contains valid object fit, stop_reasons, stop_report, and
additional_stats compared to the general class GeneralSimulations.
v_dual_simulations(): validates that the DualSimulations object and
capture the dose-biomarker fits, and the sigma2W and rho estimates.
v_da_simulations(): validates that the DASimulations object
contains valid trial_duration the vector of trial duration values for all
simulations.