convert_p: Conversion Between Different Barometric Units

View source: R/convert_p.R

convert_pR Documentation

Conversion Between Different Barometric Units

Description

The function converts between different units of pressure.

Usage

convert_p(x, unit = c("Pa", "bar", "at", "atm", "torr"))

Arguments

x

vector of given pressure values,

unit

measurement unit of the given value(s).

Value

A data frame with converted values.

References

https://en.wikipedia.org/wiki/Bar_(unit)

See Also

convert_AStoPS, convert_PStoAS, convert_RtoS, convert_StoCl, convert_StoR, convert_T,

Examples

convert_p(1, "atm")
convert_p(c(2, 3, 4.5), "bar")

convert_p(1, "atm")$Pa


marelac documentation built on Sept. 25, 2023, 5:06 p.m.