Learn R Programming

aelab (version 1.0.1)

convert_ghg_unit: 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")

Value

A numeric value.

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.

Examples

Run this code
convert_ghg_unit(1, ghg = "co2")

Run the code above in your browser using DataLab