Learn R Programming

diversitree (version 0.10-1)

history.from.sim: Extract Character Histories From Simulations

Description

This function extracts a history object from a simulated phylogeny produced by tree.bisse.

Usage

history.from.sim.discrete(phy, states)

Arguments

phy

A phylogeny produced by tree.bisse.

states

Possible states. For tree.bisse this should be 0:1.

Author

Richard G. FitzJohn