# 100 mL, measured at 35 C
stdVol(100,temp=35)
# And 1.02 atm
stdVol(100,temp=35,pres=1.02)
# Or, with different pressure units
stdVol(100,temp=35,pres=103,unit.pres="kPa")
# With different units and standard conditions
stdVol(100,temp=100,pres=1,unit.pres="bar",pres.std=1,unit.temp="F",temp.std=68)
# Vectorized
data(vol)
head(vol)
vol$vol.std <- stdVol(vol$vol,temp=20,pres=1.02)
head(vol)
Run the code above in your browser using DataLab