ppm2pa: Convert pressure from PPM to Pascals

View source: R/utils.R

ppm2paR Documentation

Convert pressure from PPM to Pascals

Description

Convert pressure from PPM to Pascals

Usage

ppm2pa(ppm, P)

Arguments

ppm

Pressure value in umol/mol of class units

P

Atmospheric pressure value in kPa of class units

Details

\mathrm{Press}(kPa) = \mathrm{Press}(ppm) P(kPa)

\mathrm{Press}(Pa) = 1000 \mathrm{Press}(kPa)

Value

Value in Pa of class units

Examples


ppm = set_units(400, "umol/mol")
P = set_units(101.325, "kPa")
ppm2pa(ppm, P)

photosynthesis documentation built on Aug. 15, 2023, 9:08 a.m.