compute.failure.Rd
Compute general probability of failure in a given state over flood events
compute.failure(case)
object of class Case (ensure that slot sector is consistently defined)
matrix of probability of being in a given scenario (rows) for a given state (columns)
case_samoens = import.Case(
system.file("extdata", "case", "test_arve_samoens.ods", package = "floodam.cba")
)
#> import Case from /tmp/RtmpedPQOf/temp_libpath47f60379534/floodam.cba/extdata/case/test_arve_samoens.ods
#> ... done
compute.failure(case_samoens)
#> state
#> scenario 1 2
#> failure 0.007916667 0.0015225
#> normal 0.102194444 0.1085886