nearestNeighbours: Function to find the nearest neighbour(s) to a provided set...

View source: R/nearestNeighbours.r

nearestNeighboursR Documentation

Function to find the nearest neighbour(s) to a provided set of tips

Description

Function to find the nearest neighbour(s) to a provided set of tips

Usage

nearestNeighbours(phylo, tips, n = 1)

Arguments

phylo

An object of class "phylo".

tips

A numeric vector indicating the tips to start from.

n

A numeric indicating the number of nearest neighbours to return.

Value

An object of class "phylo".

Author(s)

Chris Field <fieldc@ethz.ch>

Examples

None

cmfield/apextra documentation built on July 11, 2022, 3:42 a.m.