computePitchforks: Compute the number of pitchforks

Description Usage Arguments See Also

View source: R/BasicStats.R

Description

computePitchforks computes the number of pitchforks of rooted binary phylo tree

Usage

1
computePitchforks(tree, FOURPRONG = FALSE)

Arguments

tree

A phylo tree; needs to be binary and rooted.

FOURPRONG

A logical scalar; if TRUE, computes the number of fourprongs instead.

See Also

Other tree shape statistics based on the number of small substructures: computeCherries, computeNum4to8


Leonardini/treeCentrality documentation built on April 7, 2020, 3:18 p.m.