Description Usage Arguments Details Value Author(s) Examples

To initialize clusters for the divisive algorithm.

1 | ```
initClusters(initList)
``` |

`initList` |
is a clusters list. It will contain clusters with one element. |

This function will 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.

A cluster list.

Roberto Alcántara roberto.alcantara@edu.uah.es

Juan José Cuadrado jjcg@uah.es

Universidad de Alcalá de Henares

1 2 3 4 5 6 7 8 9 10 11 | ```
data <- c(1:8)
matrix <- matrix(data,ncol=2)
listData <- toListDivisive(data)
listMatrix <- toListDivisive(matrix)
initClusters(listData)
initClusters(listMatrix)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.