3.2.look.up.tables: reference data for use with pems.utils

Description Usage Format Details Note Source Examples

Description

Various reference and example datasets intended for use with functions in pems.utils.

Usage

1
2
3
4
5
6
7

Format

ref.unit.conversions: Unit conversion methods stored as a list of lists. See Details.

ref.chem, ref.petrol, ref.diesel: Common chemical and fuel constants stored as lists.

Details

unit.conversions is basically a 'look-up' for unit conversion methods. Each element of the list is another list. These lists are each individual conversion methods comprising four elements: to and from, character vectors given the unit ids and alias of the unit types that can be converted using the method; conversion, a function for the associated conversion method; and (possibly) tag, a more detailed description of the conversion intended for use in documentation.

Other ref... are sets of constants or reference information stored as lists. ref.chem contains atomic weights of some elements and molecular weights of some species. ref.petrol and ref.diesel contain default properties for typical fuels.

Note

ref.unit.conversions can be updated locally. See convertUnits, addUnitConversion, etc.

Source

TO BE COMPLETED

Examples

1
2
#basic structure
ref.unit.conversions[[1]]

pems documentation built on May 2, 2019, 5:20 p.m.