convert_ghg_unit {aelab} | R Documentation |
convert_ghg_unit
Description
Convert the greenhouse gas (GHG) flux to micromoles per square meter per hour.
Usage
convert_ghg_unit(ghg_value, ghg, mass = "µmol", area = "m2", time = "h")
Arguments
ghg_value |
The value of the flux. |
ghg |
The molecular formula of greenhouse gases (co2: carbon dioxide; ch4: methane; n2o: nitrous oxide). |
mass |
The mass component of the input GHG flux, default to micromoles. |
area |
The area component of the input GHG flux, default to square meter. |
time |
The time component of the input GHG flux, default to hour. |
Value
A numeric value.
Examples
convert_ghg_unit(1, ghg = "co2")
[Package aelab version 1.0.1 Index]