clusterComputation: *clusterComputation*

Description Usage Arguments

View source: R/Cluster.R

Description

clusterComputation is a function to cluster the different distances from the distance function together. To speed up the code the function is using parallel computation. The function first counts the number of columns of the distanceMatrixDF to determine the number of repetitions. It then determine the number of cores in the computer and builds a cluster on each core with respect to one free core. After this the function exports cluster, distanceMatrixDF, numberOfColumns, emptyClassMeteroites and classMeteroites to each core. The function uses parSapply to parallel the computation. The function returns the classDF dat frame with the classes and the number of meteroites in each category and stops automatically the cluster.

Usage

1

Arguments

No

additional arguments are needed


Oviing/Test2 documentation built on Jan. 29, 2020, 12:03 a.m.