Best Of Set Optimal Partitions From Random Starts
Produces a specified number of optpart
solutions from random starts, keeping the best result of the set
bestopt(dist,numclu,numrep,maxitr=100)
calls function optpart
with an random initial
assignment of items to clusters ‘numitr’ times, keeping the best result
(highest within/among ratio observed). See optpart
for more details.
an object of class partana, with components:
ptc |
the mean similarity of each item to each cluster |
ctc |
the mean similarity of each cluster to other clusters |
musubx |
the membership of each item in each cluster |
clustering |
the best ‘crisp’ partition from musubx |
ratio |
the within-cluster/among-cluster similarity ratio achieved at each iteration of the selected result. |
This is a simple wrapper function to automate independent random starts of function optpart.
David W. Roberts droberts@montana.edu
data(shoshveg) dis.bc <- dsvdis(shoshveg,'bray/curtis') x <- bestopt(dis.bc,5,10) summary(x) ## Not run: plot(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.