combine_probs {heemod}R Documentation

Combine Probabilities

Description

Given several independent probabilities of an event, return the final probability of the event.

Usage

combine_probs(...)

Arguments

...

Probability vectors.

Details

This function is only correct if the probabilities are independent!

Value

A probability vector.

Examples


(p1 <- runif(5))
(p2 <- runif(5))
combine_probs(p1, p2)


[Package heemod version 1.0.1 Index]