dot-validateHasUnit: Check if quantity can be represented in the unit

.validateHasUnitR Documentation

Check if quantity can be represented in the unit

Description

Check if quantity can be represented in the unit

Usage

.validateHasUnit(quantity, unit)

Arguments

quantity

Quantity object

unit

Unit name to check for

Value

If validations are successful, NULL is returned. Otherwise, error is signaled.


Open-Systems-Pharmacology/OSPSuite-R documentation built on Feb. 14, 2025, 4:48 p.m.