newCluster {LearnClust}R Documentation

To create a new cluster.

Description

To create the cluster formed by the two clusters given. Add the new cluster to list.

Usage

newCluster(list, clusters)

Arguments

list

is the generic cluster list.

clusters

is a vector with the matrix index clusters.

Details

This function is part of the hierarchical clusterization method.

1 - The function maps clusters in list.

2 - It creates a new cluster from them.

3 - It adds the new cluster to list.

4 - It disables the clusters used in the second step.

Value

A list with clusters.

Author(s)

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

Juan José Cuadrado jjcg@uah.es

Universidad de Alcalá de Henares

Examples


data <- c(1:10)

list <- toList(data)

clusters <- c(1,2)

newCluster(list,clusters)


[Package LearnClust version 1.1 Index]