Last data update: 2014.03.03

R: Convert an 'epi' object from 'sim.epi' to 'phylo' format...
epi2treeR Documentation

Convert an 'epi' object from 'sim.epi' to 'phylo' format (ape).

Description

Converts an 'epi' object from a simulation of 'sim.epi' to 'phylo' format (ape).

Usage

  epi2tree(epi)

Arguments

epi

'epi' object.

Author(s)

Gabriel E Leventhal

See Also

expoTree, ape

Examples

  x <- sim.epi(100,1,0.1,0.4,100)
  tree <- epi2tree(x)

Results