Description Usage Value See Also
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.
1 |
Returns a data frame with the classes and the number of meteroites in each class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.