getEdge.PhyloSim: Get and edge from the edge matrix

Description Usage Arguments Value Author(s) See Also Examples

Description

Get and edge from the edge matrix.

Usage

1
2
## S3 method for class 'PhyloSim'
getEdge(this, number=NA, ...)

Arguments

this

A PhyloSim object.

number

The edge number.

...

Not used.

Value

The edge as a matrix with a single row.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see PhyloSim.

Examples

1
2
3
4
5
	# create a PhyloSim object
	sim<-PhyloSim(phylo=rcoal(5));
	# get edge number 3
	getEdge(sim,3)
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.