Description Usage Arguments Value Examples

Calculates the Manhanttan distance between the medians and every point in the dataset

1 | ```
distance(X, medians)
``` |

`X` |
a matrix, the dataset being clustered |

`medians` |
a matrix, dedians of the clusters |

a matrix, distance between each point and each median

1 2 3 4 5 6 7 8 9 10 11 |

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.