is_n_overlap {datelife}R Documentation

Function for computing n-overlap for two vectors of names (ie., phy1$tip.label, phy2$tip.label) and seeing if they have n overlap

Description

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.


[Package datelife version 0.6.8 Index]