Internal Helper Functions for Validation of PseudoSimulations
Objects
Source: R/Simulations-validity.R
v_pseudo_simulations.Rd
These functions are only used internally to validate the format of an input
PseudoSimulations
or inherited classes and therefore not exported.
Usage
v_pseudo_simulations(object)
v_pseudo_dual_simulations(object)
v_pseudo_dual_flex_simulations(object)
Functions
v_pseudo_simulations()
: validates that thePseudoSimulations
object contains validfit
,FinalTDtargetEndOfTrialEstimates
,FinalTDtargetDuringTrialAtDoseGrid
,FinalTDtargetEndOfTrialAtDoseGrid
,FinalTDEOTCIs
,FinalTDEOTRatios
,FinalCIs
,FinalRatios
, object and validstopReasons
simulations.v_pseudo_dual_simulations()
: validates that thePseudoDualSimulations
object contains validfit_eff
,final_gstar_estimates
,final_gstar_at_dose_grid
,final_gstar_cis
,final_gstar_ratios
,final_optimal_dose
,final_optimal_dose_at_dose_grid
object and validsigma2_est
simulations.v_pseudo_dual_flex_simulations()
: validates that thePseudoDualFlexiSimulations
object contains validsigma2betaWest
vector of the final posterior mean sigma2betaW estimates.FinalGstarEstimates
,FinalGstarAtDoseGrid
,