Skip to contents

This function implements definition 2.8 for n-overlap from Ané et al. (2009) doi:10.1007/s00026-009-0017-x .

Usage

is_n_overlap(names_1, names_2, n = 2)

Arguments

names_1

First vector of names

names_2

Second vector of names

n

Degree of overlap required

Value

Boolean for whether the degree of overlap was met or not.

References

Ané, C., Eulenstein, O., Piaggio-Talice, R., & Sanderson, M. J. (2009). "Groves of phylogenetic trees". Annals of Combinatorics, 13(2), 139-167, doi:10.1007/s00026-009-0017-x .