rclust.weights {fossil}R Documentation

Relational Clustering

Description

A method to cluster a number of samples using a relational (dissimila

Usage

rclust.weights(groups, dist)

Arguments

groups

cluster identity vector

dist

original pairwise distance matrix

Details

This function creates an n by c sized matrix, where n is the number of samples and c is the number of groups, of the average distances for each sample from itself to all the members of another group (c_{i}).

Value

A matrix of of size n (samples) by c (groups).

Author(s)

Matthew Vavrek

See Also

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

Examples

data(fdata.mat)
fd.dist <- dino.dist(fdata.mat)
fd.clust <- rclust(fd.dist, 2)
rclust.weights(fd.clust, fd.dist)

[Package fossil version 0.4.0 Index]