conv_kpa_cm | R Documentation |
This function converts absolute pressure in kPa to cm of water.
conv_kpa_cm(df, pres, baro)
df |
data frame with pressure data |
pres |
Quoted field name that corresponds absolute pressure from a water level logger |
baro |
Quoted field name of the atmostpheric barometric pressure correction field |
Returns a data frame with a new column labeled with SITECODE_cm, which represents cm of water above the logger.
## Not run:
df <- data.frame(BIGH_AbsPres = c(100, 99, 98), WMTN_BARO_AbsPres = c(99, 96, 94))
df2 <- conv_kpa_cm(df, pres = 'BIGH_AbsPres', baro = 'WMTN_BARO_AbsPres')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.