View source: R/11.2-parameter-validators.R
| validate_nutrient_concentrations | R Documentation |
Validate nutrient concentrations
validate_nutrient_concentrations(
nutrient_concentrations,
organism_type = "fish"
)
nutrient_concentrations |
List with N and P concentrations |
organism_type |
Organism type for validation |
A named list with three elements: valid (logical),
errors (character vector), and warnings (character
vector). warnings are issued when N or P concentrations fall
outside the typical range for the specified organism_type or when
the N:P mass ratio is outside 2–20.
validate_nutrient_concentrations(list(
nitrogen = 0.030,
phosphorus = 0.004
))$valid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.