interclustdist: Calculates the distance between pairs of cluster centroids

View source: R/interclustdist.R

interclustdistR Documentation

Calculates the distance between pairs of cluster centroids

Description

Calculates the distance between pairs of cluster centroids, given a distance matrix and a cluster vector.

Usage

interclustdist(x, cluster)

Arguments

x

A site-by-site data matrix or an object of class dist containing the distance values between pairs of sites (plot records).

cluster

A vector indicating the hard membership of each object in x to a set of groups. Can contain NA values.

Value

An object of class dist containing the distances between cluster centers.

Author(s)

Miquel De Cáceres, CREAF

Examples

##TO BE DONE##

vegclust documentation built on Aug. 25, 2022, 9:08 a.m.