Rev Language Reference


maxdiff

Finds the maximum difference in clade probabilities between two posterior samples.

Usage

maxdiff(TraceTree[] traces)

Arguments

traces : TraceTree[] (pass by reference)
The samples of trees from the posterior.

Return Type

Example

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

# Compute the maxdiff statistic
maxdiff = maxdiff(traces=tree_trace)

See Also