lookupQuantity: Retrieve a Quantity from the standard list.

View source: R/lookupQuantity.R

lookupQuantityR Documentation

Retrieve a Quantity from the standard list.

Description

Function to get an Quantity based on an ID string *and* the scope (i.e. a particular model or the 'Standard' properties) from the standard dgvm.quantities list

Usage

lookupQuantity(quant.id, context = Standard.quantities, verbose = TRUE)

Arguments

quant.id

String holding the id of the Quantity you want

context

The context in which to look up the Quantity. Can be a Format object, Source object or a list (of Quantity objects). Leave blank to lookup from the Standard.quantities list.

verbose

Logical, if TRUE (default) give some extra information

Value

A Quantity object if it finds the right one. Otherwise the code halts.

Author(s)

Matthew Forrest matthew.forrest@senckenberg.de


MagicForrest/DGVMTools documentation built on Aug. 23, 2024, 8:05 a.m.