Description Usage Arguments Value

This function computes and returns the minimum distance between a vector and a matrix

1 | ```
pdist(point, set, method = "manhattan")
``` |

`point` |
numeric vector |

`set` |
numeric matrix |

`method` |
String stating which distance measure to be used. This must be one of: "euclidean" or "manhattan" (default). |

numeric value indicating the minimum distance between `point`

and `set`

.

moko documentation built on July 6, 2017, 1:06 a.m.

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.