Skip to contents

[Stable]

These functions are only used internally to validate the format of an input CohortSize or inherited classes and therefore not exported.

Usage

v_cohort_size_range(object)

v_cohort_size_dlt(object)

v_cohort_size_const(object)

v_cohort_size_parts(object)

v_cohort_size_max(object)

Arguments

object

(CohortSize)
object to validate.

Value

A character vector with the validation failure messages, or TRUE in case validation passes.

Functions

  • v_cohort_size_range(): validates that the CohortSizeRange object contains valid intervals and cohort_size slots.

  • v_cohort_size_dlt(): validates that the CohortSizeDLT object contains valid intervals and cohort_size slots.

  • v_cohort_size_const(): validates that the CohortSizeConst object contains valid size slot.

  • v_cohort_size_parts(): validates that the CohortSizeParts object contains valid sizes slot.

  • v_cohort_size_max(): validates that the CohortSizeMax object contains valid cohort_sizes slot.