Description Usage Arguments Value Author(s)

Calculate the costs caused by a failure according to Section 7.1 in "The Water Network Management Challenge", Max Maurer 2017.

1 | ```
failure.cost(diameter, mean = FALSE)
``` |

`diameter` |
diameter [mm] |

`mean` |
boolean. Should the expected cost be returned? Random otherwise. |

if `mean=FALSE`

, the failure costs [CHF] are sampled
randomly. If `mean=TRUE`

, the expected average costs are returned.

Andreas Scheidegger

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.