Get the likelihood for a single cluster

general_cluster_like.dt(prob_inf, n_inf)

Arguments

prob_inf

probability of onward transmission

n_inf

number infected by this person

Value

a single number, the likelihood

Details

(specifically for data.table)