Internal Helper Functions for Validation of GeneralModel
and ModelPseudo
Objects
Source: R/Model-validity.R
v_model_objects.Rd
These functions are only used internally to validate the format of an input
GeneralModel
and ModelPseudo
or inherited classes and therefore are
not exported.
Usage
v_general_model(object)
v_model_logistic_kadane(object)
v_model_logistic_kadane_beta_gamma(object)
v_model_logistic_normal_mix(object)
v_model_logistic_normal_fixed_mix(object)
v_model_logistic_log_normal_mix(object)
v_model_dual_endpoint(object)
v_model_dual_endpoint_rw(object)
v_model_dual_endpoint_beta(object)
v_model_dual_endpoint_emax(object)
v_model_logistic_indep_beta(object)
v_model_eff_log_log(object)
v_model_eff_flexi(object)
v_model_da_logistic_log_normal(object)
v_model_tite_logistic_log_normal(object)
v_model_one_par_exp_normal_prior(object)
v_model_one_par_exp_prior(object)
v_logisticlognormalordinal(object)
Functions
v_general_model()
: validates that the names of the arguments ininit
function are included indatanames
ordatanames_prior
slots.v_model_logistic_kadane()
: validates that the logistic Kadane model parameters are valid.v_model_logistic_kadane_beta_gamma()
: validates that the logistic Kadane model parameters with a beta and gamma prior are valid.v_model_logistic_normal_mix()
: validates thatweightpar
is valid.v_model_logistic_normal_fixed_mix()
: validates thatcomponent
is a list with validModelParamsNormal
objects as well asweights
are correct.v_model_logistic_log_normal_mix()
: validates thatshare_weight
represents probability.v_model_dual_endpoint()
: validates thatDualEndpoint
class slots are valid.v_model_dual_endpoint_rw()
: validates thatDualEndpointRW
class slots are valid.v_model_dual_endpoint_beta()
: validates thatDualEndpointBeta
class slots are valid.v_model_dual_endpoint_emax()
: validates thatDualEndpointEmax
class slots are valid.v_model_logistic_indep_beta()
: validates thatLogisticIndepBeta
class slots are valid.v_model_eff_log_log()
: validates thatEffloglog
class slots are valid.v_model_eff_flexi()
: validates thatEffFlexi
class slots are valid.v_model_da_logistic_log_normal()
: validates thatDALogisticLogNormal
class slots are valid.v_model_tite_logistic_log_normal()
: validates thatTITELogisticLogNormal
class slots are valid.v_model_one_par_exp_normal_prior()
: validates thatOneParLogNormalPrior
class slots are valid.v_model_one_par_exp_prior()
: validates thatOneParExpPrior
class slots are valid.v_logisticlognormalordinal()
: confirms that cov is diagonal