validateDataSource: Check the consistency between observed data and its...

View source: R/error-checks.R

validateDataSourceR Documentation

Check the consistency between observed data and its dictionary. Units for dv and time need to be defined at least once in either the observed dataset, its dictionary or outputs In case of multiple definitions, warnings will thrown and the following priorities will be applied:
  1. Use units from outputs

  2. Use units from observed dataset

  3. Use units from dictionary

Description

Check the consistency between observed data and its dictionary. Units for dv and time need to be defined at least once in either the observed dataset, its dictionary or outputs In case of multiple definitions, warnings will thrown and the following priorities will be applied:

  1. Use units from outputs

  2. Use units from observed dataset

  3. Use units from dictionary

Usage

validateDataSource(dataSource, outputs, nullAllowed = TRUE)

Arguments

dataSource

A DataSource object

outputs

list or array of Output objects

nullAllowed

Logical defining if NULL input is allowed


Open-Systems-Pharmacology/OSPSuite.ReportingEngine documentation built on April 13, 2025, 10:37 a.m.