Description Usage Arguments Value
Calculates the log-probability of a transmission tree
1 2 3 4 5 6 7 8 9 10 11  | probTTreeR(
  ttree,
  off.r,
  off.p,
  pi,
  w.shape,
  w.scale,
  ws.shape,
  ws.scale,
  dateT
)
 | 
ttree | 
 Transmission tree  | 
off.r | 
 First parameter of the negative binomial distribution for offspring number  | 
off.p | 
 Second parameter of the negative binomial distribution for offspring number  | 
pi | 
 probability of sampling an infected individual  | 
w.shape | 
 Shape parameter of the Gamma probability density function representing the generation time  | 
w.scale | 
 Scale parameter of the Gamma probability density function representing the generation time  | 
ws.shape | 
 Shape parameter of the Gamma probability density function representing the sampling time  | 
ws.scale | 
 Scale parameter of the Gamma probability density function representing the sampling time  | 
dateT | 
 Date when process stops (this can be Inf for fully simulated outbreaks)  | 
Probability of the transmission tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.