This function calculates aluminum criteria based on EPA's 2018 national recommended freshwater aquatic life criteria for aluminum. This function is based on the EPA provided function located here: https://www.epa.gov/sites/production/files/2020-01/aluminum-criteria-calculator-rcode-data.zip The dataframe needs to have columns for pH, hardness, and DOC values. This function adds 6 columns to original dataframe: CCC, FAV, CMC, Final_CMC, FINAL_CCC, Flag.
1 2 3 4 5 6 7 8 9 | al_crit_calculator(
df,
ph_col = "pH",
hardness_col = "Hardness",
DOC_col = "DOC",
lat_col = "Lat_DD",
long_col = "Long_DD",
verbose = FALSE
)
|
df |
Dataframe to modify |
ph_col |
Name of column containing pH values. Must be surrounded by quotes |
hardness_col |
Name of column containing hardness values. Must be surrounded by quotes |
DOC_col |
Name of column containing DOC values. Must be surrounded by quotes |
verbose |
If true, return genus, and other toxicity background information. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.