combine_probs: Combine Probabilities

View source: R/transform.R

combine_probsR 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)


heemod documentation built on May 29, 2024, 8:17 a.m.