unit_conv | R Documentation |
Performs unit conversions to standardize units. originally designed for Copper BLM, so focuses on temperature, and ug-mg-ng conversions This function is used in the CuBLM_Transform function, and doesn't need to be run independently. Written by Aliana Britson
unit_conv(x, char, unit, conv)
x |
Dataframe from AWQMSdata function |
char |
Characteristics to convert |
unit |
Units to convert from |
conv |
Units to convert into |
Dataframe with results converted
unit_conv(df,c("Calcium","Chloride","Magnesium","Potassium","Sodium","Sulfate","Organic carbon","Total Sulfate","Sulfide"),"ug/l","mg/l")
unit_conv(df,"Copper","mg/l","ug/l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.