get_weights_from_table: Get empirical weights from a pre-computed table

Description Usage Arguments Value

View source: R/table-weights.R

Description

Get empirical weights from a pre-computed table

Usage

1
get_weights_from_table(n, x, i_pos, tab_list = TBornotTB::idistrib1e4)

Arguments

n

cluster size

x

number of positive smears in the cluster

tab_list

list of tables with pre-computed probabilities

number

of positive transmissions

Value

probability of i positive given n,x


skgallagher/TBornotTB documentation built on April 21, 2020, 1:19 p.m.