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`

.

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.