Optimize: Optimize over a range of budgets and survival thresholds

Description Usage Arguments Value Examples

Description

Optimize over a range of budgets and survival thresholds

Usage

1
2
3
Optimize(benefits.matrix, cost.vector, budgets = NULL,
  thresholds = c(50.01, 60.01, 70.01), combo.strategies = NULL,
  weights = NULL)

Arguments

benefits.matrix

A [strategies]x[species] dataframe with named rows and columns

cost.vector

A list of strategy costs

budgets

A list of budgets over which to optimize. If NULL, a sensible range of budgets will be automatically generated

thresholds

A list of survival thresholds over which to optimize, default = (50, 60, 70)

combo.strategies

A combination object specifying which strategies are combinations of which other strategies

weights

A named list of species weights

Value

A dataframe of optimization results

Examples

1
2
3
4
5
COMBO_info <- get(data("COMBO_info"))
benefits.matrix <- get(data("Bij_fre_01"))
cost.vector <- get(data("cost_fre_01"))$Cost
opt.results <- Optimize(benefits.matrix, cost.vector, combo.strategies=COMBO_info)
PlotResults(opt.results)

ncryer/consOpt documentation built on May 9, 2019, 5:55 a.m.