
Internal Helper Functions for Validation of GeneralData Objects
Source: R/Data-validity.R
v_data_objects.RdThese functions are only used internally to validate the format of an input
GeneralData or inherited classes and therefore not exported.
Usage
v_general_data(object)
h_doses_unique_per_cohort(dose, cohort)
v_data(object)
v_data_dual(object)
v_data_parts(object)
v_data_mixture(object)
v_data_da(object)
v_data_ordinal(object)
v_data_grouped(object)Value
A character vector with the validation failure messages,
or TRUE in case validation passes.
TRUE if dose is unique per cohort, otherwise FALSE.
Functions
v_general_data(): validates that theGeneralDataobject contains uniqueID, non-negativecohortindices andIDandcohortvectors are of the same lengthnObs.h_doses_unique_per_cohort(): helper function which verifies whether thedosevalues are unique in each and every differentcohort.v_data(): validates that theDataobject contains valid elements with respect to their types, dependency and length.v_data_dual(): validates that theDataDualobject contains valid biomarker vector with respect to its type and the length.v_data_parts(): validates that theDataPartsobject contains valid elements with respect to their types, dependency and length.v_data_mixture(): validates that theDataMixtureobject contains valid elements with respect to their types, dependency and length.v_data_da(): validates that theDataDAobject contains valid elements with respect to their types, dependency and length.v_data_ordinal(): validates that theDataOrdinalobject contains valid elements with respect to their types, dependency and length.v_data_grouped(): validates that theDataGroupedobject contains valid group information.