Description Usage Arguments Details Value Author(s) References See Also Examples
Changes the cluster numbering in an fuzzy clustering object.
1 | change.order.clusters(clustering, new.order)
|
clustering |
Object returned from |
new.order |
Vector with new cluster numbering. |
Cluster 1 from the old object is assigned the number stored in the frist position in new.order, Cluster 2 the number on the second position and so on.
Identical object as clustering
except the cluster numbering is changed
Dominik Reusser
Reusser, D. E., Blume, T., Schaefli, B., and Zehe, E.: Analysing the temporal dynamics of model performance for hydrological models, Hydrol. Earth Syst. Sci. Discuss., 5, 3169-3211, 2008.
cmeans
for the fuzzy clustering
1 2 3 4 5 6 7 | data(tiger.example)
new.order <- c(6,3,2,5,4,1)
cmeans.result <- tiger.single$cluster.assignment[[6]]
str(cmeans.result)
cmeans.result2 <- change.order.clusters(cmeans.result, new.order)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.