cluster is a function to find the minimum value of each column. It creates an empty vector with the same length as the classMeteroites variable. It slice the distanceMatrixDF data frame into single columnns and comparing there every row with the minimum value. If the function find the minimum value it saves the position of the row into the emptyClassMeteroites vector. It returns the emptyClassMeteroites vector
WARNING: Just works in combination with the clusterComputation function.
1 | cluster(numberOfColumns)
|
numberOfColumns |
Number of columns of the distanceMatrixDF data frame. The input will be automatically cenerated by the clusterComputation function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.