probTTree.Rd
Calculates the log-probability of a transmission tree
probTTree(
ttree,
rOff,
pOff,
pi,
shGen,
scGen,
shSam,
scSam,
dateT,
delta_t = 0.01
)
Transmission tree
First parameter of the negative binomial distribution for offspring number
Second parameter of the negative binomial distribution for offspring number
probability of sampling an infected individual
Shape parameter of the Gamma probability density function representing the generation time
Scale parameter of the Gamma probability density function representing the generation time
Shape parameter of the Gamma probability density function representing the sampling time
Scale parameter of the Gamma probability density function representing the sampling time
Date when process stops (this can be Inf for fully simulated outbreaks)
Grid precision
Probability of the transmission tree