Rev Language Reference


posteriorPredictiveSimulation

Usage

posteriorPredictiveSimulation(Model model, String directory, ModelTrace[] trace, AncestralStateTrace[] ancestralStateTrace)

Arguments

model : Model (pass by const reference)
The reference model instance.
directory : String (pass by value)
The name of the directory where we store the simulations.
trace : ModelTrace[] (pass by const reference)
The sample trace object.
ancestralStateTrace : AncestralStateTrace[] (pass by const reference)
The ancestral state trace object. Used only for simulating CDBDP when conditioning on sampled tip states.
Default : NULL

Methods