Compute indicator of efficiency for a case

compute.efficiency(
  case,
  reference = getOption("floodam.cba")[["reference"]],
  rate = getOption("floodam.cba")[["rate"]],
  type = "automatic",
  output = "indicator"
)

Arguments

case

An object of class 'Case'.

reference

String, designing the reference project.

rate

String, designing which type of rate should be used.

type

String, does "simple" or "probabilistic" calendar shall be used.

output

String, what shall function return (either "indicator", "calendar" or "state").

Value

Matrix with synthetic indicators

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org

Examples

 
case_complete = import.Case(system.file("extdata", "case", "complete.ods", package = "floodam.cba"))
#> import Case from /tmp/RtmpedPQOf/temp_libpath47f60379534/floodam.cba/extdata/case/complete.ods
#>  ... done
compute.efficiency(case_complete)
#>         complete reinforcement
#> npv   909.314149   3061.286007
#> bcr     1.129821      2.887255
#> h.min  36.000000     13.000000