is_n_overlap: Function for computing n-overlap for two vectors of names...

View source: R/groves.R

is_n_overlapR 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) \Sexpr[results=rd]{tools:::Rd_expr_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, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s00026-009-0017-x")}.


phylotastic/datelife documentation built on June 9, 2024, 6:50 p.m.