clusterComputation: clusterComputation

Description Usage Value See Also

View source: R/Cluster.R

Description

The clusterComputation function cluster the different subtypes of meteroites to the related main types together. The function contains a vector with all the main types of meteroites. The matrix from the distance function will be sliced into single columns. In each column the index position of the smalles value will be calculated. For each minimal value in an empty vector with the same length as the vector for the main types +1 value is added. The function returns a data frame made out of the main type of meteroites and the empty vector with the added values at the index position with the smalles value. The function uses sapply to loop the computation.

Usage

1

Value

Returns a data frame with the classes and the number of meteroites in each class.

See Also

sapply, distance


unimi-dse/09ea9da6 documentation built on Feb. 17, 2020, 4:16 a.m.