| fix_bd_units | R Documentation |
If the median raw value is > 10 it is assumed to be in kg/m3 and is divided by 100 to convert to g/cm3.
fix_bd_units(bd_raw)
bd_raw |
Numeric vector of raw bulk-density values. |
Numeric vector in g/cm3.
fix_bd_units(c(1.2, 1.45, 1.3)) # already g/cm3
fix_bd_units(c(120, 145, 130)) # kg/m3 -> g/cm3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.