Rev Language Reference


dnEmpiricalTree

Creates a distribution of trees from a trace of trees.

Usage

dnEmpiricalTree(TraceTree trace, Trace density)

Arguments

trace : TraceTree (pass by reference)
The trace of tree samples.
density : Trace (pass by reference)
Optional trace of probability density values for each tree.
Default : NULL

Domain Type

Example

# Read in tree trace
tree_trace = readTreeTrace("output/my.trees", burnin=0.25)

# Create a distribution of trees
tree ~ dnEmpiricalTree(tree_trace)

# Add an MCMC move
moves[1] = mvEmpiricalTree(tree)

See Also