Learn R Programming

LearnClust (version 1.1)

initClusters.details: To explain how to initialize clusters for the divisive algorithm.

Description

To explain how to initialize clusters for the divisive algorithm.

Usage

initClusters.details(initList)

Arguments

initList

is a clusters list. It will contain clusters with one element.

Value

A cluster list. Explanation.

Details

This function will explain how to calculate every cluster that can be created by joining initial clusters with each other. It creates clusters from length = 1 until a cluster with every element is created.

These clusters will be used to find the most different clusters that we can create by dividing the initial cluster.

Examples

Run this code
# NOT RUN {
data <- c(1:8)

matrix <- matrix(data, ncol=2)

listData <- toListDivisive(data)

listMatrix <- toListDivisive(matrix)

initClusters.details(listData)

initClusters.details(listMatrix)

# }

Run the code above in your browser using DataLab