Skip to main content

crbd_analytical.tppl

function crbd​

Main model function

model function crbd(tree: Tree, rho: Real) => Real[]

function gHatLog​

function gHatLog(g: Globals, t: Real) => Real

type Globals​

type Globals = Globals {
lambda : Real,
mu : Real,
rho : Real
}

function sLog​

function sLog(g: Globals, t: Real) => Real

type alias Tree​

type alias Tree = ClockTree

function walk​

Forward simulation determining whether a tree survives and is detected (sampled)

function walk(g: Globals, tree: Tree) => Real