| add_benefits | R Documentation |
Legacy convenience wrapper around add_effects that retains
only positive signed changes (effect > 0). Positive change does not
necessarily imply an ecological benefit. For new code, prefer
add_effects() to retain signed effects of both directions.
Effects can be defined only once per problem.
add_benefits(
x,
benefits = NULL,
effect_type = c("delta", "after"),
effect_aggregation = c("sum", "mean")
)
x |
A |
benefits |
Alias of |
effect_type |
Deprecated interpretation argument: |
effect_aggregation |
Deprecated raster aggregation argument; use
|
An updated Problem object containing:
dist_effectsThe canonical filtered effects table, containing
only rows with benefit > 0.
dist_benefitA backwards-compatible mirror table containing only the benefit component.
add_effects,
add_losses,
add_objective_max_benefit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.