Learn R Programming

WaMaSim (version 1.0.0)

sample.diameter: Sample a diameter of a new pipe.

Description

The diameter distribution is based on a real data set from Lisa Scholten (pipe_data.csv). Refer to the old exercise on watermain break modelling in the ETH Infrastructure Systems course by Max Maurer.

Usage

sample.diameter(n = 1)

Arguments

n

number of samples

Value

a vector of diameters