rclust {fossil}R Documentation

Relational Clustering

Description

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

Usage

rclust(dist, clusters = 2, runs = 10, counter = FALSE)

Arguments

dist

pairwise distance matrix

clusters

final number of clusters

runs

number of randomizations to run

counter

use counter to display current run number

Details

This function will return a cluster identity vector. The number of clusters requested must be 2 or greater, but 1/2 or less than the total number of samples, as the function requires at least 2 samples per cluster.

Value

The vector returned will be the same length as the number of samples provided in the original dist matrix. The samples will have been clustered into the same number of clusters as defined in clusters

Author(s)

Matthew Vavrek

See Also

rclust.dist, rclust.null, rclust.weights and coi

Examples

#a null solution for the fdata example data set
data(fdata.mat)
fd.dist <- dino.dist(fdata.mat)
rclust(fd.dist, clusters = 2, runs = 10)

[Package fossil version 0.4.0 Index]