make.mkn.deriv {diversitree}R Documentation

Mk2 and Mk-n Models of character evolution [temporary extension with derivatives]

Description

Not currently working

Currently a restricted-feature-set version of make.mkn, but including gradient (first derivative) information along with the likelihood. Currently lacks several features of the full mkn model: no support for missing trait data, no support for different root treatments, no optimised 2-state method.

In the future, this will roll back into make.mkn, so do not use or depend on this!

Arguments

tree

A phylogenetic tree, in ape “phylo” format.

states

A vector of character states, each of which must be integers from 1 to k.

k

Number of states to model.

Author(s)

Richard G. FitzJohn

See Also

make.mkn, which is more general, and from which this inherits support methods for ML and MCMC inference.


[Package diversitree version 0.9-4 ]