Description Usage Arguments Details Value Author(s) Examples
Calculates the nearest neighbor (least dissimilar cluster) for each item in partition to identify the topology of the partition.
1 |
x |
an object of class ‘pam’ or class ‘partana’ |
all |
a logical switch to control which items are included in the calculation |
Each item in a partition has membership in a cluster. The nearest
neighbor of an item is the cluster to which the item is least dissimilar, other
than the one to which it it belongs. If ‘all’ is TRUE, then every item
is included in the analysis. If ‘all’ is FALSE, only ‘misfits’
are included in the calculation. If the first argument is an object of class
‘pam’, then a misfit is an item with a negative silhouette width (see
silhouette
). If the first argument is an object of class
‘partana’, a misfit is an item with lower mean dissimilarity to another
cluster than to the one to which it belongs.
A table with clusters as rows, and neighbors as columns.
David W. Roberts droberts@montana.edu
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.