9.2.look-up.tables {pems.utils}R Documentation

reference data for use with pems.utils

Description

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

Usage


   ref.unit.conversions

   ref.chem

   ref.petrol

   ref.diesel

   pems.scheme

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.

pems.scheme: Default scheme for pems.utils plots.

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.

Examples


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


[Package pems.utils version 0.2.29.1 Index]