calc_EE: Calculate establishment probability

View source: R/calc_EE.R

calc_EER Documentation

Calculate establishment probability

Description

Calculate the probability of one or more establishment events occurring as as a function of estimated leakage numbers and the probability a leakage event could result in establishment.

Usage

calc_EE(n_events, p_establish, nsims = 1e+05)

Arguments

n_events

Numeric vector containing lower and upper bounds (95% CI) for the number of leakage events.

p_establish

Numeric vector containing the lower and upper bounds (95% CI) for the probability a leakage event could result in an establishment.

nsims

Integer. Number of samples to be taken from event and establishment distributions. Default = 100000.

Value

A data.frame containing the possible number of incursions that may occur, and their corresponding probabilities.

Author(s)

James Camac (james.camac@gmail.com)


jscamac/edmaps documentation built on June 11, 2022, 1:26 a.m.