Compute all indicators for a case

compute.synthesis(
  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 all 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.synthesis(case_complete)
#>              complete reinforcement
#> npv       909.3141487 3061.28600683
#> bcr         1.1298208    2.88725463
#> h.min      36.0000000   13.00000000
#> cost.hab          Inf          -Inf
#> cost.emp          Inf          -Inf
#> aad.pos   269.5186736   72.63533820
#> aad.neg  -136.5610563  -18.15883455
#> dam.eff     0.1015506    0.04160814
#> hab.eff            NA            NA
#> emp.eff            NA            NA
#> aadd      163.5421950   62.71222500
#> aad.ori  1309.2750000 1309.27500000
#> aad.fin  1145.7328050 1246.56277500
#> aadd.eff    0.1249105    0.04789844
#> aah.ori            NA            NA
#> aah.fin            NA            NA
#> aadh.eff           NA            NA
#> aae.ori            NA            NA
#> aae.fin            NA            NA
#> aade.eff           NA            NA