Learn R Programming

LearnClust (version 1.1)

toList.details: To explain how to transform data into list

Description

To explain how to transform data into list.

Usage

toList.details(data)

Arguments

data

could be a numeric vector, a matrix or a numeric data frame.

Value

A list with c<U+00F1>lusters. Explanation.

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.

Examples

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

matrix <- matrix(data,ncol=2)

dataFrame <- data.frame(matrix)

toList(data)

toList(matrix)

toList(dataFrame)

# }

Run the code above in your browser using DataLab