Usage
ancThresh(tree, x, ngen=1000, sequence=NULL, method="mcmc", model=c("BM","OU"),
control=list(), ...)
Arguments
x
a named vector containing discrete character states; or a matrix containing the tip species, in rows, and probabilities of being in each state, in columns.
ngen
number of generations to run the MCMC.
sequence
assumed ordering of the discrete character state. If not supplied and x
is a vector then numerical/alphabetical order is assumed; if not supplied and x
is a matrix, then the column order of x
is used.
method
only method currently available is "mcmc"
.
model
model for the evolution of the liability. Options are "BM"
(Brownian motion, the default), or "OU"
(Ornstein-Uhlenbeck).
control
list containing the following elements: sample
, the sampling interval; propliab
variance of the proposal distribution for liabilities; propthresh
variance on the proposal distribution for the thresholds; propal
...
additional arguments to be passed to plotThresh
(called internally).