v_cohort_size: Internal Helper Functions for Validation of 'CohortSize'...

v_cohort_sizeR Documentation

Internal Helper Functions for Validation of CohortSize Objects

Description

[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.


Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.