Does the variable of the StoX dataType have a base unit?

hasBaseUnit(dataType, variableName, variableType = NULL)

Arguments

dataType

The name of a StoX DataTypes.

variableName

The variable name to get base units from.

variableType

For variables with more than one interpretation, such as Density, which is dependent on the DensityType. The type is given in the getRstoxBaseDefinitions("dataTypeUnits").