Functions for providing conversions between scales of measurement.

temp_convert(
  x = NULL,
  to = thermoreg_options("temp_scale"),
  from = "fahrenheit",
  type = "tdb"
)

press_convert(
  x = NULL,
  to = thermoreg_options("press_scale"),
  from = "mbar",
  type = "barometric"
)

Arguments

x

a numeric value representing the measurement of interest

to

the scale to convert to

from

the scale to convert from

type

scale of measurement (i.e., tdb)

Functions

  • temp_convert: Conversion for Temperature

  • press_convert: Conversion for Pressure