getBaseUnit: Get base unit of a variable of a StoX dataType

getBaseUnitR Documentation

Get base unit of a variable of a StoX dataType

Description

Get base unit of a variable of a StoX dataType

Usage

getBaseUnit(
  dataType,
  variableName,
  element = c("unit", "quantity"),
  list.out = FALSE
)

Arguments

dataType

The name of a StoX DataTypes.

variableName

The variable name to get base units from.

element

The element to get, one of "unit" and "quantity".

list.out

Logical: If TRUE return both elements in a list.


StoXProject/RstoxBase documentation built on July 14, 2024, 9:39 a.m.