Learn R Programming

FoRDM (version 1.0.1)

build_objectives_satisficing: Build Objectives Data Frame for Satisficing Analysis

Description

Specify information for satisficing-based FoRDM analysis. For each objective, define its name, time aggregation method (mean, sum, min or max), discount rate, threshold and direction.

Usage

build_objectives_satisficing(
  names,
  time_aggregation = rep("mean", length(names)),
  discount_rate = rep(0, length(names)),
  threshold,
  direction = rep("above", length(names))
)

Value

A data frame specifying objectives name, time aggregation method, discount rate, threshold and direction for use in satisficing FoRDM analysis.

Arguments

names

Names of objectives as the column names in the provided data.

time_aggregation

Time aggregation across objectives: 'mean', 'sum', 'min' or 'max'.

discount_rate

Discount rates for each objective (e.g., 0.02 means 2% per time step), applied during time aggregation.

threshold

Numeric value(s) defining the satisficing level for each objective.

direction

'above' if values should meet or exceed the threshold, 'below' if they should be lower.