rclust.dist: Relational Clustering

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/rclust.dist.R

Description

Provides a distance matrix intra- and inter-group average distances based on a clustering solution and a dissimilarity matrix.

Usage

1
rclust.dist(groups, dist)

Arguments

groups

cluster identity vector

dist

original pairwise distance matrix

Details

This function calculates a distance matrix for each cluster, giving the average within group pairwise distance and the average between group pairwise distance.

Value

A matrix c by c in size, where c is the number of clusters

Author(s)

Matthew Vavrek

See Also

To cluster the data, use the function rclust; see as well rclust.weights, rclust.null

Examples

1
2
3
4
5
#a null solution for the fdata example data set
data(fdata.mat)
fd.dist <- dino.dist(fdata.mat)
fd.clust <- rclust(fd.dist, 2)
rclust.dist(fd.clust, fd.dist)

fossil documentation built on March 23, 2020, 5:06 p.m.