Let's say you take metabolic rates in units of torr, but you want to make figures in mg/l or some other unit. You could look up the conversions in a text book, or you could convert them in R!

Convert between torr and mg/l

library(oxygen)
torr_mgl(temperature = 16, oxygen_in_torr = 18)


JoeyBernhardt/oxygen documentation built on May 4, 2019, 1:24 p.m.