Learn R Programming

LearnClust (version 1.1)

getClusterDivisive: To get the clusters with maximal distance.

Description

To get the clusters with the maximal distance value. By using the given distance, it gets the matrix index.

Usage

getClusterDivisive(distance, vector)

Arguments

distance

is a number. It should be in the matrix.

vector

is a numeric vector

Value

A cluster.

Details

This function is part of the hierarchical clusterization method. The function uses the distance value and gets the clustersId with the minimal distance.

For the divisive algorithm, it chooses the distances from a distances list.

Examples

Run this code
# NOT RUN {
getClusterDivisive(2,c(1:10))

getClusterDivisive(6,c(2,4,6,8,10,12))

# }

Run the code above in your browser using DataLab