Description Usage Arguments Details Value References
Calculate the mediods of a clustering by finding the point that has the minimum average/sum
distance to all other points in the cluster. Proximity between data points can be
provided by RFdist
or using the Gower's general similarity coefficient.
1 2 3 4 5 6 7 8 9 |
x |
a dissimilarity matrix, or a data frame/ matrix |
... |
further arguments passed to or from other methods. |
clusters |
clustering |
fun |
character name of the function to determine minimum
distance between points in a cluster. Should be either |
weights |
ptional vector of weights for variables in data. See |
data |
data frame/ matrix |
mediod
is the main function to compute the mediod, while
mix.dist
computes the distance between obersavations based on veriables
of mix-types: binary, categorical, and continuous using the Gower's general similarity
coefficient.
data matrix of cluster mediods and the corresponding row indicies of the mediods in the original data
Gower, John C. "A general coefficient of similarity and some of its properties." Biometrics (1971): 857-871.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.