convert_p {marelac}R 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


[Package marelac version 2.1.11 Index]