ace.mk2: Ancestral state reconstruction

Description Usage Arguments Value

View source: R/ace.mk2.R

Description

Does marginal ancestral state reconstruction for a binary state character

Usage

1
ace.mk2(pars, x, phy)

Arguments

pars

A vector of 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.

Value

A matrix of ancestral state reconstructions


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