Learn R Programming

phangorn (version 1.0-0)

as.splits: Splits representation of graphs and trees

Description

as.splits

Usage

as.splits(x, ...)
## S3 method for class 'phylo':
as.splits(x, ...)
## S3 method for class 'multiPhylo':
as.splits(x, ...)

Arguments

x
An object of class phylo or multiPhylo.
...
Further arguments passed to or from other methods.

Value

  • An object of class splits, which is mainly a list of splits.

See Also

prop.part, lento, distanceHadamard

Examples

Run this code
as.splits(rtree(5))

Run the code above in your browser using DataLab