convert_p: Conversion Between Different Barometric Units

Description Usage Arguments Value References See Also Examples

View source: R/convert_p.R

Description

The function converts between different units of pressure.

Usage

1
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

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

See Also

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

Examples

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

convert_p(1, "atm")$Pa

marelac documentation built on Feb. 12, 2020, 3 a.m.