Description Usage Arguments Value Examples
Count the number of expected building failures
1 | buildings_expected_failures(element, critical)
|
element |
Data frame. Element level data. Any data frame will work as
long as it contains |
critical |
Numeric. A vector of numbers indicating the
|
The expected number of buildings that will fail. A failed building is defined as one in which at least one of the critical elements has reached grade E. If $p_i$ is the probability that the $i$th component has failed then the probability a building with $n$ critical components has failed is $1-\prod_i=1^n\left(1-p_i\right)$.
1 2 3 4 5 | critical_elements <- c(1700, 1701, 1706, 1707, 1708, 1752, 1756, 1769, 1773,
1774, 1775, 1786, 1787, 1788, 1826, 1827, 1828, 1829,
1830, 1883, 1885, 1887, 1889, 1892, 1893, 1900, 1903,
1905, 1983, 1984, 1985)
blockbuster2:::buildings_expected_failures(simulated_elements, critical_elements)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.