View source: R/Simulations-validity.R
v_general_simulations | R Documentation |
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)
object |
( |
A character
vector with the validation failure messages,
or TRUE
in case validation passes.
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 trialduration
the vector of trial duration values for all
simulations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.