getNedges.PhyloSim: Get the number of edges from phylo object aggregated by a...

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the number of edges from phylo object aggregated by a PhyloSim object.

Usage

1
2
## S3 method for class 'PhyloSim'
getNedges(this, ...)

Arguments

this

A PhyloSim object.

...

Not used.

Value

A numeric vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see PhyloSim.

Examples

1
2
3
4
5
6
7
	# create a PhyloSim object
	sim<-PhyloSim(phylo=rcoal(5));
	# get the number of the edges
	getNedges(sim)
	# get the number of the edges via virtual field
	sim$nedges
 

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