rclust.dist {fossil} | R Documentation |
Relational Clustering
Description
Provides a distance matrix intra- and inter-group average distances based on a clustering solution and a dissimilarity matrix.
Usage
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
#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)
[Package fossil version 0.4.0 Index]