posterior_LTBI_prob: Posterior LTBI probability using time disease-free

Description Usage Arguments Value Examples

View source: R/posterior_LTBI_prob.R

Description

Conditional on having 'survived' up to time t. use for time in country before presenting at A&E.

Usage

1

Arguments

p_LTBI

Probability prevalence.

t

Time (positive integer).

Value

Probability

Examples

1
2
(0.975*0.975*0.99*0.3)/(0.975*0.975*0.99*0.3 + 0.7)
posterior_LTBI_prob(0.3, 3)

n8thangreen/LTBIhospitalScreenACE documentation built on May 7, 2019, 3:15 p.m.