toList {LearnClust} | R Documentation |
To transform data into list
Description
To transform data
into list.
Usage
toList(data)
Arguments
data |
could be a numeric vector, a matrix or a numeric data frame. |
Details
This function is part of the agglomerative hierarchical clusterization method. The function initializes
data
content as a list.
In agglomerative algorithm, it adds a TRUE
flag to each element, which indicates that the cluster is not grouped.
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)
matrix <- matrix(data,ncol=2)
dataFrame <- data.frame(matrix)
toList(data)
toList(matrix)
toList(dataFrame)
[Package LearnClust version 1.1 Index]