View source: R/15.0-analysis-core.R
| assign_energy_components | R Documentation |
Internal helper that populates the estimate and se slots of
several energy components inside a budget result list. Avoids repeating the
same assignment pattern across population, individual, and TMB branches of
get_energy_budget_uncertainty().
assign_energy_components(budget, src, mapping, idx = NULL)
budget |
Named list with one sub-list per energy component, each
containing at least |
src |
Named list (or data frame column) that holds the raw
|
mapping |
Named character vector mapping component names (keys) to
source field prefixes (values), e.g.
|
idx |
Integer index used for vector extraction (individual branch).
|
The updated budget list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.