View source: R/13.0-bioenergetic-classes.R
| get_parameter_value | R Documentation |
Retrieves a specific parameter value from species parameter lists, searching across all parameter categories.
get_parameter_value(params, param)
params |
Species parameters list |
param |
Parameter name to retrieve |
The value associated with param in the first category of
params where it is found, or NULL if param is not
present in any category. The type of the returned value matches the
stored parameter (typically a numeric scalar).
sp <- list(consumption = list(CA = 0.303, CB = -0.275))
get_parameter_value(sp, "CA")
get_parameter_value(sp, "nonexistent")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.