Learn R Programming

phylosim (version 3.0.5)

getEdge.PhyloSim: Get and edge from the edge matrix

Description

Get and edge from the edge matrix.

Usage

# S3 method for 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.

See Also

For more information see PhyloSim.

Examples

Run this code
# NOT RUN {
	# create a PhyloSim object
	sim<-PhyloSim(phylo=rcoal(5));
	# get edge number 3
	getEdge(sim,3)
 
# }

Run the code above in your browser using DataLab