probTTreeR.Rd
Calculates the log-probability of a transmission tree
probTTreeR(
ttree,
off.r,
off.p,
pi,
w.shape,
w.scale,
ws.shape,
ws.scale,
dateT
)
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)
Probability of the transmission tree