crbd_delayed.tppl
function crbd
Model function
model function crbd(tree: Tree, rho: Real) => Real[]
type GammaBool
type GammaBool =
type Globals
type Globals =
function isDetected
Simulate the process from some time in the past and determine whether any descendant will be detected at present (at t = 0.0)
function isDetected(g: Globals, gdist: GammaDist, tBegin: Real) => GammaBool
function numTrialsUntilMRCADetection
Get an estimate of the probability of the MRCA being detected under given parameter values
function numTrialsUntilMRCADetection(g: Globals, gdist: GammaDist, tRoot: Real, mMax: Int) => Int
function simHiddenSpeciation
Simulate hidden speciation along an observed branch
function simHiddenSpeciation(g: Globals, gdist: GammaDist, startTime: Real, endTime: Real) => GammaDist
type alias Tree
Types for this script
type alias Tree = ClockTree
function walk
Simulate process ("walk") along the observed tree
function walk(g: Globals, gdist: GammaDist, parentAge: Real, node: Tree) => GammaDist