Skip to contents

Defines a management alternative with metric values. Values can come from an IPM, historical harvest data, or informed estimates. The tool scores alternatives consistently regardless of where the numbers come from.

Usage

sdm_alternative(name, description, metrics)

Arguments

name

Character. Human-readable name (e.g., "Status Quo", "Reduce Harvest").

description

Character. Plain language description (e.g., "Current regulations at 20% harvest rate").

metrics

Numeric vector. One value per objective. Can be unnamed (names are assigned as obj_N by sdm_scenario()). All objectives in the scenario must be represented.

Value

An sdm_alternative object (named list with class "sdm_alternative"). Fields: id (assigned as alt_N by sdm_scenario(), NULL until then), name, description, metrics.

Examples

alt <- sdm_alternative(
  name = "Status Quo",
  description = "Current regulations",
  metrics = c(5000, 0.987)
)
alt$metrics
#> [1] 5000.000    0.987