Rev Language Reference


dnBirthDeathSamplingTreatment

Aliases

  • dnBDSTP
  • dnSkylineBDP
  • dnSSBDP
  • dnSampledAncestorBDP

Usage

dnBirthDeathSamplingTreatment(RealPos rootAge/originAge, RealPos lambda, RealPos mu, RealPos phi, RealPos r, Probability[] Lambda, Probability[] Mu, Probability Phi, RealPos[] timeline, String condition, Taxon[] taxa, TimeTree initialTree)

Arguments

rootAge/originAge : RealPos (pass by const reference)
The start time of the process.
lambda : RealPos (pass by const reference)
The birth rate(s).
mu : RealPos (pass by const reference)
The death rate(s).
phi : RealPos (pass by const reference)
The serial sampling rate(s).
r : RealPos (pass by const reference)
The probabilit(y|ies) of death upon sampling (treatment).
Lambda : Probability[] (pass by const reference)
The episodic birth burst probabilities.
Default : NULL
Mu : Probability[] (pass by const reference)
The episodic death burst (mass extinction) survival probabilities.
Default : NULL
Phi : Probability (pass by const reference)
The probability of sampling taxa at sampling events (at present only if input is scalar).
Default : NULL
timeline : RealPos[] (pass by const reference)
The rate interval change times of the piecewise constant process.
Default : [ ]
condition : String (pass by value)
The condition of the process.
Default : time
Options : time|survival|sampleAtLeastOneLineage
taxa : Taxon[] (pass by const reference)
The taxa used for initialization.
initialTree : TimeTree (pass by value)
Instead of drawing a tree from the distribution, initialize distribution with this tree.
Default : NULL

Domain Type