diversitree (version 0.9-9)

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.