find.mle.mk2: Maximum likelihood estimation of transition rates

Description Usage Arguments Value

View source: R/find.mle.mk2.R

Description

Computes the maximum likelihood estimate of the transition rates for a binary character

Usage

1
find.mle.mk2(pars, x, phy, hessian = FALSE)

Arguments

pars

A vector of initial transition rates. e.g. pars[1] = rate of transition from state 0 to state 1.

x

A vector of character states in the set 0, 1

phy

A phylogeny that inherits class phylo and extended-phylo.

hessian

If true the Hessian will be numerically computed.

Value

A list of results from subplex


blueraleigh/pea.toolkits documentation built on Dec. 24, 2017, 3:20 p.m.