Neighbors
Calculates the nearest neighbors in a distance/dissimilarity matrix
neighbors(dis,numnbr)
For each sample unit in a dissimilarity matrix finds the ‘numnbr’ nearest neighbors and returns them in order.
Returns a data.frame with sample units as rows and neighbors as columns, listed in order of proximity to the sample unit.
data(bryceveg) # returns a data.frame called veg dis.bc <- dsvdis(bryceveg,'bray/curtis') neighbors(dis.bc,5)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.