Learn R Programming

phytools (version 0.2-1)

threshDIC: Deviance Information Criterion from the threshold model

Description

This function computes the Deviance Information Criterion from the MCMC object returned by ancThresh.

Usage

threshDIC(tree, x, mcmc, burnin)

Arguments

tree
phylogenetic tree.
x
named vector containing discrete character states.
mcmc
list object returned by ancThresh.
burnin
number of generations (not samples) to exclude as burn in.

Value

  • a scalar

See Also

ancThresh