Description Usage Arguments Value Author(s) References Examples

Calculates the cost function of the K-medoids algorithm for the given input. Should not be used by the user.

1 | ```
cost_function(w, var_list)
``` |

`w` |
The weight vector of length |

`var_list` |
A list of variables containing the following: data, the relevant data. method, the number of cluster k. bounds, the bounds on the weights. fk: see |

`Cost function` |
The value of the cost function of this clustering with the given weights. |

Jeroen van den Hoven

Clustering with optimised weights for Gower's metric: Using hierarchical clustering and Quasi-Newton methods to maximise the cophenetic correlation coefficient, Jeroen van den Hoven.

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.